Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

scp port 22: Connection timed out lost connection

Tony007Mar 28 2021

hi am having this error when doing ssh or scp in linux
scp port 22: Connection timed out
lost connection

service ipchains stop
Redirecting to /bin/systemctl stop ipchains.service
Failed to stop ipchains.service: Unit ipchains.service not loaded.
[root@ahubvm ~]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
[root@ahubvm ~]# chkconfig ipchains off
error reading information on service ipchains: No such file or directory
[root@ahubvm ~]# chkconfig iptables off
error reading information on service iptables: No such file or directory

Warning: Identity file /Users//.ssh/something.key not accessible: No such file or directory.
usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file]
[-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
[-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]

iptables -F it return nothing

Comments

Processing

Post Details

Added on Mar 28 2021
3 comments
3,467 views