You are not logged in.
Pages: 1
This is very basic I'm afraid, and not quite specific to Bunsenlabs.
I'm trying to transfer files between two PCs connected via ethernet through a simple PLC box (both PCs connected to the same box actually) using FTP (or SFTP as filezilla seems to use).
I've got same logins and passwords on both computers.
I run ftp and try "open <IP address>" and I get "connection refused". (same in filezilla).
Of course I ping that address successfully. What is the next step ?
If I fix that, which is certainly simple, I could have Samba work as well !
Last edited by berniz95 (2018-09-05 19:33:45)
Offline
https://wiki.debian.org/SSH#Installation_of_the_server
then on client
ssh user@ip
Last edited by brontosaurusrex (2018-09-05 19:35:21)
Online
$ ssh 192.168.0.22
ssh: connect to host 192.168.0.22 port 22: Connection refused
Offline
Check the server log
cat /var/log/auth.log
For example
# bad attempt
Sep 5 21:53:45 raspberrypi sshd[1765]: Failed password for invalid user rancid from 111.231.190.181 port 6922 ssh2
Sep 5 21:53:46 raspberrypi sshd[1765]: Connection closed by 111.231.190.181 port 6922 [preauth]
# good attempt
Sep 5 22:06:26 raspberrypi sshd[1849]: Accepted publickey for pi from 192.168.1.5 port 40848 ssh2: RSA SHA256:IjG24nmoVwiUojhjgkjhiojklhLaNfmNLjfP/LKuo31f9+nhO2BlIl8
Sep 5 22:06:26 raspberrypi sshd[1849]: pam_unix(sshd:session): session opened for user pi by (uid=0)
Last edited by brontosaurusrex (2018-09-05 20:10:48)
Online
Next, ensure that the SSH service is running on the server machine (the one you want to connect to)
You're right, ssh wasn't running on the server. I'm not through with it but I think that was the point...
Thank you earlybird and brontosaurusrex for your explanations and hints.
Offline
Pages: 1