Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Not applicable

Can not ssh out from within firewall

I' m using a fortigate 60 . I can make ssh connections to hosts within the firewall. I can ping hosts outside the firewall. I can make a telnet connection to the ssh port (22) on hosts outside the firewall. But when I try to make an ssh connection, the connection attempt hangs and then times out. It hangs at this point: $ ssh -vvv staffknex.com OpenSSH_4.7p1 Debian-8ubuntu1.1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to staffknex.com [64.71.152.155] port 22. debug1: Connection established. debug1: identity file /home/matt/.ssh/identity type -1 debug1: identity file /home/matt/.ssh/id_rsa type -1 debug1: identity file /home/matt/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.6p1 Debian-5ubuntu0.1 debug1: match: OpenSSH_4.6p1 Debian-5ubuntu0.1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.1 debug2: fd 3 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent
4 REPLIES 4
rwpatterson
Valued Contributor III

Welcome to the forums. What is the firmware (build) version on the unit?

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Not applicable

Hi Bob -- here' s the firmware build FortiWiFi-60B 3.00-b0662(MR6 Patch 1)
rwpatterson
Valued Contributor III

Oooo, that' s new. Are you sure the remote host is accepting connections for SSH? Never mind... I just checked using Putty from my Windows box, and it worked. It asked me if I wanted to accept the cert. Are you sure that there isn' t a cert error that' s preventing this from working? I' m not familiar with the Linux product you' re using.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
Not applicable

I don' t know if this applies or not but just in case you have not heard: http://isc.sans.org/diary.html?storyid=4420
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors