[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 05/12/17 15:40, mr meowski wrote:
I am following this as best I can. I think I have things running on the good laptop, which is upstairs in the same room as my desktop. Here is some output from that laptop.Hmm, I garbled that a little bit so I better clarify... well done me.On the laptop: sudo apt update && sudo apt dist-upgrade sudo apt install openssh-* -y sudo systemctl enable sshd sudo systemctl start sshd sudo systemctl status sshd ssh localhost <confirm that you can access the laptop locally here via SSH> ip addr show [remember the laptop's IP address here]The above steps are for setting up SSHD and finding the IP address to connect to on *any* of your systems - do this on any computer that you want to listen on SSH (that's all of them by the way). Do this first on your working laptop for testing and then the faulty laptop for fault finding. I'd definitely enable it on your Desktop as well while you're at it.
------------------------------------------------------------------ neilwin @ /home/neilwin 5 Dec 2017 > sudo systemctl status sshd [sudo] password for neilwin: â ssh.service - OpenBSD Secure Shell serverLoaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-12-05 17:38:58 GMT; 44min ago Main PID: 29189 (sshd) CGroup: /system.slice/ssh.service ââ29189 /usr/sbin/sshd -D Dec 05 17:38:58 charlie systemd[1]: Starting OpenBSD Secure Shell server... Dec 05 17:38:58 charlie sshd[29189]: Server listening on 0.0.0.0 port 22. Dec 05 17:38:58 charlie sshd[29189]: Server listening on :: port 22. Dec 05 17:38:58 charlie systemd[1]: Started OpenBSD Secure Shell server.Dec 05 17:41:35 charlie sshd[29363]: Accepted password for neilwin from 127.0.0.1 port 37764 ssh2 Dec 05 17:41:35 charlie sshd[29363]: pam_unix(sshd:session): session opened for user neilwin by (uid=0) Dec 05 17:50:11 charlie sshd[30016]: Accepted password for neilwin from 127.0.0.1 port 37854 ssh2 Dec 05 17:50:11 charlie sshd[30016]: pam_unix(sshd:session): session opened for user neilwin by (uid=0) Dec 05 18:19:50 charlie sshd[30850]: Accepted password for neilwin from 127.0.0.1 port 38002 ssh2 Dec 05 18:19:50 charlie sshd[30850]: pam_unix(sshd:session): session opened for user neilwin by (uid=0)
neilwin @ /home/neilwin 5 Dec 2017 > ------------------------------------------------------------------------To me that seems to say that SSH is running. Am I right? My user name is neilwin and the computer name is charlie.
The relevant bit from ifconfig is wlp4s0 Link encap:Ethernet HWaddr 0c:d2:92:d3:99:10 inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2e7e:7cad:4275:30d5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:167020 errors:0 dropped:0 overruns:0 frame:0 TX packets:118073 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:242473895 (242.4 MB) TX bytes:12808748 (12.8 MB) which suggests to me that my laptop address is 192.168.1.10. Is that right?On the desktop I am told that SSH is up and running. However, when I try ssh neilwin@xxxxxxxxxxxx I get no response. The computer just stops and I have to use Ctrl-c clear it.
Neil -- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq