Time to time I need create servers network - link servers and quickly copy data.
I'm using for that SSH Filesystem (SSHFS) because it is simple and easy to use like connect with Secure Shell (SSH).
For better security reasons I using authentication files instead of passwords. Another reasons is that is the default setting for "Amazon Web Services (AWS) EC2".
Time to time I don't figure out where is problem with connection
sshfs {{user_name}}@{{server_ip}}:{{remote_path}} {{local_path}} -o "IdentityFile={{identity_path}}"
and I get just simple message on client
read: Connection reset by peer
and simple message on server
"Connection reset by peer"
Q what I can do next?
-o debug
is very helpful to me to find errors. – Ankur Loriya Jan 24 '19 at 07:44