LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote "Terminal" Access
#1
Hi,

This may come in useful if you just need to quickly connect to another PC to say check some files or config.

First install package on the "Remote PC(s)" the one(s) you will "Connect TO"
Code:
sudo apt-get install openssh-server
lots of output
[ snip ]
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
.
.
0 to upgrade, 5 to newly install, 0 to remove and 83 not to upgrade.
Need to get 445 kB of archives.
After this operation, 1,571 kB of additional disk space will be used.
Do you want to continue? Y
.
.
$
Then to test it locally, still at the terminal prompt
Code:
ssh <yourusername>@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
ECDSA key fingerprint is e5:da:66:ed:64:9d:d2:bc:db:18:ca:92:10:46:d1:8c.
Then a question.?
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
dave@localhost's password: <enter your password>

Welcome to Linux Lite 2.0 (GNU/Linux 3.13.0-40-generic x86_64)
* Documentation:  https://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

dave@hp-lappy1:~$ exit
logout
Connection to localhost closed.
dave@hp-lappy1:~$

Now test it from another PC, connecting from my desktop to my laptop.
Code:
ssh <yourusername>@<hostname>
It should go like below, and I issued a lsusb command
Type exit when finnished.

[Image: VmWJ7v7.png]

NOTES:
1. You will be asked about the key 1 time for each new machine you connect, just type yes
2. There is away to get it to Launch "GUI" programs as well in a separate window, not quite figured that one out yet, config stuff..!!
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)