Linux Lite Forums
ssh on localhost - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: ssh on localhost (/showthread.php?tid=4387)



ssh on localhost - wesley - 08-30-2017

hello linux lt on all machines
i have three home pc s on my net work and i am trying to learn in bash so i have been playing with ssh. all my machines have ssh and ssh  opensshd-sever. and i was able to ssh # 102 to #107 and vice versa. but now only #102 ssh 's  to 107 . connect timed out port 22.    however both machines have ufw  turn to OFF
i have know a lot of commands but i dont know all the terminology so i get lost in some of the explanations and tutorial that i have used. is there a direct way to allow or not allow ports to be seen or set in terminal or gui  ............. netstat and its other similar commands are not clear to me
i only am using this to learn in terminal and not for work or anything important . i log as w**@machinename like this w**@desktop:~$          w**@laptop:~$  w**@htpc:~$          and on localhost my router so do i need a user name@ or just ssh ip address. ?

nano is not working for me on 102 if i grep listen config page blank and a purge or reinstall i dont think fixes problem b/c it doesnt redo lists as it needs too .


i like linux and never go bac to wnds. sorry for the poor note and grammar from the deep wet south


Re: ssh on localhost - bitsnpcs - 08-30-2017

Hello wesley,

you can have UFW enabled and allow ssh -
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands