Install and use putty on Ubuntu

Source: Internet
Author: User
Tags unpack administrator password

Install and use putty on Ubuntu

The following describes how to install and use Putty:

First, enter the following command and press the tab key to find three putty-related files in the library. You can directly use Putty:

[Email protected]:/dev $ sudo apt-Get install putty

Putty putty-Doc putty-Tools

[Email protected]:/dev $ sudo apt-Get install putty

[Sudo] password for PLANCK:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

Putty-Tools

Suggested packages:

Putty-Doc

The following new packages will be installed:

Putty putty-Tools

0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.

Need to get 581 KB of archives.

After this operation, 2,421 KB of additional disk space will be used.

Do you want to continue? [Y/n] y

// The system will prompt whether you want to continue. You have to continue for the purpose. Enter y and press enter to continue:

Get: 1 http://cn.archive.ubuntu.com/ubuntu/ trusty/Universe putty-tools amd64 0.63-4 [297 KB]

Get: 2 http://cn.archive.ubuntu.com/ubuntu/ trusty/Universe putty amd64 0.63-4 [284 KB]

Fetched 581 kb in 11 S (52.6 kb/s)

Selecting previusly unselected package putty-tools.

(Reading database... 198687 files and directories currently installed .)

Preparing to unpack.../putty-tools_0.63-4_amd64.deb...

Unpacking putty-tools (0.63-4 )...

Selecting previusly unselected package putty.

Preparing to unpack.../putty_0.63-4_amd64.deb...

Unpacking putty (0.63-4 )...

Processing triggers for man-dB (2.6.7.1-1 )...

Processing triggers for gnome-menus (3.10.1-0ubuntu2 )...

Processing triggers for desktop-file-utils (0.22-1ubuntu1 )...

Processing triggers for bamfdaemon (0.5.1 + 14.04.20140409-0ubuntu1 )...

Rebuilding/usr/share/applications/bamf-2.index...

Processing triggers for mime-support (3.54ubuntu1 )...

Setting up putty-tools (0.63-4 )...

Setting up putty (0.63-4 )...

// Well, the installation is complete. Open putty and try again.

[Email protected]:/dev $ sudo putty

Enter the administrator password: Sudo] password for PLANCK:

Select the serial port and set the serial port number to/dev/ttyusb0 and the baud rate to 115200:

** Note: During serial communication, you must first enable the software and then enable the device on the target machine. For SSH network connection, you must first enable the system to work properly before connecting, otherwise, an error occurs !!!! Remember !!!

(Putty: 7148): IBUS-WARNING **: The owner of/home/Planck/. config/ibus/bus is not root!

(Putty: 7148): glib-critical **: source ID 1088 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1161 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1254 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1487 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1629 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1720 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1721 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1750 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1918 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1919 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1997 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 1998 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2172 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2342 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2344 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2357 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2390 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2475 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2560 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2587 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2830 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2832 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 2835 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3067 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3069 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3072 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3156 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3213 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3216 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3303 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3457 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3520 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3522 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3737 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3739 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3742 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3882 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3885 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 3888 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4111 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4140 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4248 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4383 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4649 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4651 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4757 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4878 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 4998 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5069 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5071 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5074 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5121 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5123 was not found when attempting to remove it

(Putty: 7148): glib-critical **: source ID 5158 was not found when attempting to remove it

// This is the actual content of the putty window. Copy it directly. This includes the entire system boot process.

?

U-boot SPL 2013.04-dirty (May 06 2013-16:12:47)

Musb-HDRC: configdata = 0xde (UTMI-8, dyn Guest OS, HB-ISO RX, HB-ISO Tx, softconn)

Musb-HDRC: mhdrc RTL version 2.0

Musb-HDRC: Setup required o_mode 4

Musb-HDRC: 28/31 Max EP, 16384/16384 memory

USB Peripheral Mode Controller at 47401000 using PIO, IRQ 0

Musb-HDRC: configdata = 0xde (UTMI-8, dyn Guest OS, HB-ISO RX, HB-ISO Tx, softconn)

Musb-HDRC: mhdrc RTL version 2.0

Musb-HDRC: Setup required o_mode 4

Musb-HDRC: 28/31 Max EP, 16384/16384 memory

USB Host Mode Controller at 47401800 using PIO, IRQ 0

Omap sd/MMC: 0

Mmc_send_cmd: Timeout: no status update

Reading u-boot.img

Reading u-boot.img

U-boot 2013.04-dirty (May 06 2013-16:12:47)

I2C: Ready

DRAM: 512 MIB

Warning: caches not enabled

Nand: No NAND device found !!!

0 MIB

MMC: omap sd/MMC: 0, omap sd/MMC: 1

* ** Warning-readenv () failed, using default environment

Musb-HDRC: configdata = 0xde (UTMI-8, dyn Guest OS, HB-ISO RX, HB-ISO Tx, softconn)

Musb-HDRC: mhdrc RTL version 2.0

Musb-HDRC: Setup required o_mode 4

Musb-HDRC: 28/31 Max EP, 16384/16384 memory

USB Peripheral Mode Controller at 47401000 using PIO, IRQ 0

Musb-HDRC: configdata = 0xde (UTMI-8, dyn Guest OS, HB-ISO RX, HB-ISO Tx, softconn)

Musb-HDRC: mhdrc RTL version 2.0

Musb-HDRC: Setup required o_mode 4

Musb-HDRC: 28/31 Max EP, 16384/16384 memory

USB Host Mode Controller at 47401800 using PIO, IRQ 0

Net: <ethaddr> not set. Validating first e-fuse Mac

Cpsw, usb_ether

Hit any key to stop autoboot: 0

Gpio: PIN 53 (gpio 53) value is 1

Mmc_send_cmd: Timeout: no status update

Card did not respond to voltage select!

Mmc0 (Part 0) is current device

Mmc_send_cmd: Timeout: no status update

Card did not respond to voltage select!

No micro SD card found, setting mmcdev to 1

Mmc_send_cmd: Timeout: no status update

Mmc1 (Part 0) is current device

Mmc_send_cmd: Timeout: no status update

Gpio: PIN 54 (gpio 54) value is 1

SD/MMC found on device 1

Reading uenv.txt

14 bytes read in 3 MS (3.9 kib/s)

Loaded environment from uenv.txt

Importing environment from MMC...

Gpio: PIN 55 (gpio 55) value is 1

4394080 bytes read in 795 MS (5.3 MIB/s)

Gpio: PIN 56 (gpio 56) value is 1

23469 bytes read in 52 MS (440.4 kib/s)

Booting from MMC...

# Booting kernel from legacy image at 80007fc0...

Image name: Angstrom/3.8.13/beaglebone

Image Type: ARM Linux kernel image (uncompressed)

Data size: 4394016 bytes = 4.2 MIB

Load address: 80008000

Entry Point: 80008000

Verifying checksum... OK

# Flattened Device Tree blob at 80f80000

Booting using the FDT blob at 0x80f80000

Xip kernel image... OK

OK

Using Device Tree in place at 80f80000, end 80f88bac

Starting kernel...

Uncompressing Linux... Done, booting the kernel.

[2, 0.193780] omap2_mbox_probe: platform not supported

[0.204532] tps65217-bl tps65217-bl: no platform data provided

[0.280991] bone-capemgr bone_capemgr.9: slot #0: no cape found

[0.318100] bone-capemgr bone_capemgr.9: slot #1: No cape found

[2, 0.355206] bone-capemgr bone_capemgr.9: slot #2: No cape found

[0.392315] bone-capemgr bone_capemgr.9: slot #3: No cape found

[0.423872] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed

[0.488557] pinctrl-single 44e10800. pinmux: PIN 44e000054 already requested by 44e10800. pinmux; cannot claim for gpio-leds.8

[0.500293] pinctrl-single 44e10800. pinmux: pin-21 (gpio-leds.8) status-22

[0.507603] pinctrl-single 44e10800. pinmux: cocould not request pin 21 on device pinctrl-single

[1.249377] systemd [1]: failed to insert module 'autofs4'

[1.539874] systemd [1]: failed to open/dev/autofs: no such file or directory

[1.547474] systemd [1]: failed to initialize automounter: no such file or directory

[1.555610] systemd [1]: failed to set up automount arbitrary executable file formats File System automount point.

Systemd-fsck [82]: Angstrom: clean, 53617/112672 files, 413976/449820 Blocks

[5.035251] libphy: PHY 4a101000. mdio: 01 not found

[5.040352] net eth0: PHY 4a101000. mdio: 01 not found on slave 1

. --- O ---.

|.-. O

| -----. | .----..-----.-----.

| _ | --- '|' --. |.-'|

| --- | -- '|

'---' --. | -----''----''--''-----'-'-'-'

-'|

'---'

The Angstrom distribution beaglebone_black ttyo0

Angstrom v2012.12-kernel 3.8.13

Beaglebone_black login: Root

Password:

Last login: Fri Dec 31 19:00:20 est 1999 on ttyo0

[Email protected] _ BLACK :~ #

[Email protected] _ BLACK :~ # Pwd

/Home/root

[Email protected] _ BLACK :~ # Ifconfig

Eth0 link encap: Ethernet hwaddr C8: A0: 30: B9: 7f: 2b

Up broadcast multicast MTU: 1500 Metric: 1

RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 FIG: 1000

RX Bytes: 0 (0.0 B) TX Bytes: 0 (0.0 B)

Interrupt: 56

Lo link encap: local loopback

Inet ADDR: 127.0.0.1 mask: 255.0.0.0

Up loopback running MTU: 65536 Metric: 1

RX packets: 4 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 4 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 txqueuelen: 0

RX Bytes: 248 (248.0 B) TX Bytes: 248 (248.0 B)

[Email protected] _ BLACK :~ # Shutdown -- p now

Sending sigterm to remaining processes...

Sending sigkill to remaining processes...

Unmounting file systems.

Unmounting/sys/kernel/config.

Unmounting/sys/kernel/debug.

Unmounting/dev/mqueue.

Unmounting/etc/machine-id.

All filesystems unmounted.

Deactivating swaps.

All swaps deactivated.

Detaching loop devices.

Detaching loopback/dev/loop7.

Detaching loopback/dev/loop6.

Detaching loopback/dev/loop5.

Detaching loopback/dev/loop4.

Detaching loopback/dev/loop3.

Detaching loopback/dev/loop2.

Detaching loopback/dev/loop1.

Detaching loopback/dev/loop0.

All loop devices detached.

Detaching DM devices.

All DM Devi [415.790271] (null device *): gadget not registered.

CES detached.

[1, 415.797272] power down.

[2, 415.802674] Kernel panic-not syncing: attempted to kill Init! Exitcode = 0x00000000

[415.802674]

[415.812251] [<c001051d>] (unwind_backtrace + 0x1/0x8c) from [<c01_d41>] (panic + 0x55/0 x14c)

[415.820803] [<c01_d41>] (panic + 0x55/0 x14c) from [<c002ec8f>] (do_exit + 0x2ef/0x5dc)

[415.828803] [<c002ec8f>] (do_exit + 0x2ef/0x5dc) from [<c00000083>] (sys_reboot + 0xb5/0x126)

[415.837249] [<c00000083>] (sys_reboot + 0xb5/0x126) from [<c000c641>] (ret_fast_syscall + 0x1/0x46)

[2, 415.846242] drm_kms_helper: panic occurred, switching back to text Console

Here we use network links for remote control:

[Email protected]:/dev $ sudo putty

[Sudo] password for PLANCK:

Select SSH and enter the IP address of the target machine: 10.0.1.118.

Login as: Root

[Email protected]'s password:

[Email protected] _ BLACK :~ # Ifconfig

Eth0 link encap: Ethernet hwaddr C8: A0: 30: B9: 7f: 2b

Inet ADDR: 10.0.1.118 bcast: 10.0.20.255 mask: 255.255.0.0

Up broadcast running Multicast MTU: 1500 Metric: 1

RX packets: 68 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 70 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 FIG: 1000

RX Bytes: 8605 (8.4 kib) TX Bytes: 12916 (12.6 kib)

Interrupt: 56

Lo link encap: local loopback

Inet ADDR: 127.0.0.1 mask: 255.0.0.0

Up loopback running MTU: 65536 Metric: 1

RX packets: 6 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 6 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 txqueuelen: 0

RX Bytes: 427 (427.0 B) TX Bytes: 427 (427.0 B)

[Email protected] _ BLACK :~ #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.