Forum Stats

  • 3,722,378 Users
  • 2,244,296 Discussions
  • 7,849,820 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

scp port 22: Connection timed out lost connection

Tony007
Tony007 Member Posts: 4,046 Bronze Trophy

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.

[[email protected] ~]# service iptables stop

Redirecting to /bin/systemctl stop iptables.service

Failed to stop iptables.service: Unit iptables.service not loaded.

[[email protected] ~]# chkconfig ipchains off

error reading information on service ipchains: No such file or directory

[[email protected] ~]# 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 [[email protected]]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]]

      [[email protected]]hostname [command]


iptables -F it return nothing

Answers

Sign In or Register to comment.