If I try and access my FTP server via the command line using (sudo) sftp 192.168.1.x/home/directory
the terminal returns
sftp: 192.168.1.x/home/directory: Name or service not known
But if I enter sftp://192.168.1.x/home/directory
into Nautilus the directory is accessible.
Why am I not able to access the ftp server with the command line?
I have been having problems with FTP and backing up my system since yesterday so I might be missing something obvious by now. Sorry if that is the case.
sftp://192.168.1.x/home/directory
to get it to work. Previously it wasftp://[email protected]/
for many years. I am trying to figure out what has happened for this long-term solution to stop working. – SteveInBavaria Oct 14 '18 at 13:57sshfs
to mount SFTP to the mount-point (see example in this answer). It is fast and reliable. Or Nautilus/Caja to mount sftp for copying/moving one or two files. I have never used Deja Dup. I use FreeFileSync for periodical but manual backups. – N0rbert Oct 14 '18 at 14:10sftp://192.168.1.x/home/directory
by connecting via Nautilus and so everything is working again now. But I am interested in what exactly has changed and it is so long ago that I set up the OpenSSH, vsftp anf other servers on my server machine that I have forgotten 90% of how I did it ;-) – SteveInBavaria Oct 14 '18 at 14:23