SFTP The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established

Trying out some new options for hosting and I’m having trouble connecting via SFTP.

Works fine in Filezilla using .pem file.

It is the first connection, so it makes sense that the authenticity error shows up, but how do I get past it?

Thanks!

Testing Connection ...
+ set color:use-color yes
+ set cmd:interactive yes
+ set file:charset utf-8
+ set xfer:clobber on
+ set ftp:timezone 
+ set cmd:show-status yes
+ set cmd:set-term-status yes
+ set ftp:list-options -a
+ set cmd:fail-exit yes
+ set cmd:time-style "%Y-%m-%d %H:%M:%S"
+ set ftp:ssl-allow no
+ set ssl:verify-certificate no
+ set sftp:auto-confirm yes
+ set sftp:connect-program "ssh -a -x -v -i ~/Downloads/**mysite.com**"
+ set net:max-retries 3
+ set net:timeout 20
+ set net:reconnect-interval-base 5
+ set net:reconnect-interval-multiplier 1
+ open -u **user**, sftp://xxx.xxx.xxx.xxx
+ cd /opt/**user**/apache/htdocs
---- Running connect program (ssh -a -x -v -i ~/Downloads/**mysite.com** -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- OpenSSH_8.1p1, LibreSSL 2.7.3
<--- debug1: Reading configuration data /etc/ssh/ssh_config
<--- debug1: /etc/ssh/ssh_config line 47: Applying options for *
<--- debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
<--- debug1: Connection established.             
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: Local version string SSH-2.0-OpenSSH_8.1
<--- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
<--- debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
<--- debug1: Authenticating to xxx.xxx.xxx.xxx:22 as '**user**'
<--- debug1: SSH2_MSG_KEXINIT sent
<--- debug1: SSH2_MSG_KEXINIT received           
<--- debug1: kex: algorithm: curve25519-sha256
<--- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
<--- debug1: kex: server->client cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: kex: client->server cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
<--- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g
The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established.
<--- ECDSA key fingerprint is SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g.
**** Timeout - reconnecting                      
---- Disconnecting
---- Running connect program (ssh -a -x -v -i ~/Downloads/**mysite.com** -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- OpenSSH_8.1p1, LibreSSL 2.7.3
<--- debug1: Reading configuration data /etc/ssh/ssh_config
<--- debug1: /etc/ssh/ssh_config line 47: Applying options for *
<--- debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
<--- debug1: Connection established.             
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: Local version string SSH-2.0-OpenSSH_8.1
<--- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
<--- debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
<--- debug1: Authenticating to xxx.xxx.xxx.xxx:22 as '**user**'
<--- debug1: SSH2_MSG_KEXINIT sent
<--- debug1: SSH2_MSG_KEXINIT received           
<--- debug1: kex: algorithm: curve25519-sha256
<--- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
<--- debug1: kex: server->client cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: kex: client->server cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
<--- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g
The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established.
<--- ECDSA key fingerprint is SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g.
**** Timeout - reconnecting                      
---- Disconnecting
---- Running connect program (ssh -a -x -v -i ~/Downloads/**mysite.com** -s -l **user** xxx.xxx.xxx.xxx sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- OpenSSH_8.1p1, LibreSSL 2.7.3
<--- debug1: Reading configuration data /etc/ssh/ssh_config
<--- debug1: /etc/ssh/ssh_config line 47: Applying options for *
<--- debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
<--- debug1: Connection established.             
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: identity file /Users/pauka/Downloads/**mysite.com** type -1
<--- debug1: Local version string SSH-2.0-OpenSSH_8.1
<--- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
<--- debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
<--- debug1: Authenticating to xxx.xxx.xxx.xxx:22 as '**user**'
<--- debug1: SSH2_MSG_KEXINIT sent
<--- debug1: SSH2_MSG_KEXINIT received           
<--- debug1: kex: algorithm: curve25519-sha256
<--- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
<--- debug1: kex: server->client cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: kex: client->server cipher: **mysite.com** MAC: <implicit> compression: none
<--- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
<--- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g
The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established.
<--- ECDSA key fingerprint is SHA256:u4Jc3v8GUNO1diFVbJqX10yUUkXhl1vmdxYHmkZii4g.
**** Timeout - reconnecting                      
---- Disconnecting
cd: Fatal error: max-retries exceeded

Community Page
Last updated: