hi all,
iam getting below warning note while i was running the SAS code that uses SFTp connection.
would you please suggest what does this warning represents ? do i need to amen the code from my end to get rid of WARNING please .?
NOTE: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED!
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for
[XXXXXXXXXXXXXXXX.com]:8888 has changed,
and the key for the corresponding IP
address [11.34.7344.898]:8888
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the
host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS
POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle
attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote
host is
XXX:SDSDSDSgfhgfhgfhgfjhgfjhgfjfjhgj.
Please contact your system administrator.
Add correct host key
in /ff/hh/hh/.ssh/hists to get rid of this message.
Offending ECDSA key in
/ff/hh/hh/.ssh/hists:99
Password authentication is disabled to avoid man-in-the-middle
attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
When a new connection to a SSH host is made for the first time, the identification key sent by the host's SSH server is recorded in ~/.ssh/known_hosts (OpenSSH, other ssh clients may have different filenames) for a combination of fully qualified domain name and numeric IP address. If either the IP address or the key changes (new DNS entry for the first, reconfiguration of the SSH server for the second), the new address/key combination must be confirmed.
Check with the admins that either of the above happened (for security reasons), then log on to your SAS server, and make the connection manually. Confirm the key, and everything should work as before. If not, you may have to re-configure your public/private key authentication (the public key may have been lost on the server if it was reinstalled/reconfigured).
Can you connect from an FTP client?
Sorry for confussion ,No @ChrisNZ , not able to connect via FT client. thanks.
When a new connection to a SSH host is made for the first time, the identification key sent by the host's SSH server is recorded in ~/.ssh/known_hosts (OpenSSH, other ssh clients may have different filenames) for a combination of fully qualified domain name and numeric IP address. If either the IP address or the key changes (new DNS entry for the first, reconfiguration of the SSH server for the second), the new address/key combination must be confirmed.
Check with the admins that either of the above happened (for security reasons), then log on to your SAS server, and make the connection manually. Confirm the key, and everything should work as before. If not, you may have to re-configure your public/private key authentication (the public key may have been lost on the server if it was reinstalled/reconfigured).
Thanks @Kurt_Bremser .
May i request to please suggest how you acquired all knowledge please.
whether do i need to daily read some online PDF material as i also would want to become expert like you please. so i am requesting,so that i will try to achieve
Start with 40+ years since I wrote my first program (on a card punch, at that!). Experience is something that needs time to acquire, there's no way around that. So don't despair, you probably have lots of time still ahead to catch up with old-timers like me.
But you can speed it up:
With SFTP, I really did not know what to do until I had to set up passwordless authentication for the SAS SFTP engine. So I looked what kind of sftp the server uses (OpenSSH), found the website (Maxim 6), started to dig through the doc (Maxim 1), found ssh-keygen, and played around with everything (config files, commandline, ...) until it worked (Maxim 4). On the way I found out how to configure the OpenSSH server (sshd) also.
Thank you so much @Kurt_Bremser
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.