push - ssh: connect to host bitbucket.org port 22: Connection timed out fatal -
whole error is:
ssh: connect host bitbucket.org port 22: connection timed out fatal: remote end hung unexpectedly
i'm getting error when push 2 of projects on different servers (countries).
what problem?
update:
using
ssh -v
i'm getting this:
usage: ssh [-somecode] [-b bind_address] [-c cipher_spec] [-d [bind_address:]port] [-e escape_char] [-f configfile] [-i identity_file] [-l [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-o ctl_cmd] [-o option] [-p port] [-r [bind_address:]port:host:hostport] [-s ctl_path] [-w tunnel:tunnel] [user@]hostname [command]
check if don't have iptable rules ssh outgoing connections, if true, add port 22.
multiple ports:
iptables -t filter -a output -p tcp --match multiport --dport 22,1111,2222,3333 -j accept
Comments
Post a Comment