Quantcast
Channel: How to detect if ssh failed to execute remote command due to host identification change? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by temporaryuser1 for How to detect if ssh failed to execute remote...

What shell are you using I tested using zsh but bash will do the same output ? ➜ ~ ssh localhost echo Hello world Hello world ➜ ~ echo $? 0 ➜ ~ ssh localhost error bash: error: command not found ➜ ~...

View Article


How to detect if ssh failed to execute remote command due to host...

I am using Amazon Linux on AWS. Trying to execute a remote command using ssh like this: % ssh somehost echo Hello World @@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>