Remote "Terminal" Access - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: General (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=14) +--- Thread: Remote "Terminal" Access (/showthread.php?tid=1269) |
Remote "Terminal" Access - Wirezfree - 12-13-2014 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 [ 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 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> Type exit when finnished. 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..!! |