When archiving the config via commit-archive an " [Errno 111] Connection refused" error occurs so I modified the config, also on Synology to get it running without success. Now I’m getting:
Archiving config…
scp://10.19.0.254:/volume2/technics/hosts/server/router/04.vyOS/vyOS - backup Unable to upload “scp://marima:[email protected]/volume2/technics/hosts/server/router/04.vyOS/vyOS - backup/config.boot-vyos.schniek.net.20250502_182849”: EOF during negotiation
run-parts: /etc/commit/post-hooks.d/02vyos-commit-archive exited with return code 1
When using scp directly to upload files to the NAS it is only possible when using scp with -O parameter
To check if it is in general possible to save on the NAS I executed
marima@vyos#
marima@vyos#
marima@vyos# save “scp://user:[email protected]:/volume2/technics/hosts/server/router/vyOS - backup”Host ‘10.19.0.254’ not found in known hosts.
Fingerprint: 80bb72ccb5b6bcc24709265e254b0786
Do you wish to continue? [y/N] yWARNING: no ‘known_hosts’ file; create to store keys permanently
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/paramiko/sftp_client.py”, line 130, in init
server_version = self._send_version()
^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/sftp.py”, line 134, in _send_version
t, data = self._read_packet()
^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/sftp.py”, line 201, in _read_packet
x = self._read_all(4)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/sftp.py”, line 188, in _read_all
raise EOFError()
EOFErrorDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/libexec/vyos/vyos-save-config.py”, line 70, in
remote_save.upload(write_file)
File “/usr/lib/python3/dist-packages/vyos/remote.py”, line 220, in upload
with self._establish() as ssh, ssh.open_sftp() as sftp:
^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/client.py”, line 573, in open_sftp
return self._transport.open_sftp_client()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/transport.py”, line 1142, in open_sftp_client
return SFTPClient.from_transport(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/sftp_client.py”, line 170, in from_transport
return cls(chan)
^^^^^^^^^
File “/usr/lib/python3/dist-packages/paramiko/sftp_client.py”, line 132, in init
raise SSHException(“EOF during negotiation”)
paramiko.ssh_exception.SSHException: EOF during negotiationmarima@vyos#
marima@vyos#
marima@vyos#