Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: gwalker_ne8 on July 25, 2007, 04:26:52 PM

Title: Strange SSH Remote Access
Post by: gwalker_ne8 on July 25, 2007, 04:26:52 PM
Hi All,

I seem to be having trouble with getting access to my SME Server 7.2 via SSH.
I have setup everything under SSH settings for local access.
I have specified the host that I am connecting from under remote management.

When I try to connect via Putty I get "Server unexpectedly closed network connection", however when I change access to entire internet I get the usual login.

Obviously I don’t want to leave this setting on entire internet.

Can anybody suggest what has gone wrong?

Graham
Title: Strange SSH Remote Access
Post by: mmccarn on July 25, 2007, 04:52:53 PM
server-manager::Security::remote access has 4 sections.  

The first section, "PPTP settings" refers to pptp VPNs.

The second section, "Remote Management" refers to https access to /server-manager

The third section, "Secure Shell Settings" refers to ssh access

The fourth section, "FTP Settings" refers to FTP.

The 'SSH' section doesn't have a place to enter individual remote hosts for access, so I suspect you've been setting the 'https://.../server-manager' remote host settings, then trying to use them from ssh... which won't work.

Here's what you can do to allow remote access to ssh while minimizing your security exposure:[list=a]
Title: Strange SSH Remote Access
Post by: gwalker_ne8 on July 25, 2007, 05:12:37 PM
Thanks for your quick response.

I was sure that I was able to access my server via SSH it via my work connection before, while I had the local option enabled in the SSH settings, anyway I'll give your suggestion a go.

G
Title: Strange SSH Remote Access
Post by: shawnbishop on July 26, 2007, 10:10:36 AM
Also

Check what version of PUTTY you are using, I found that SME Server doesnt allow connections from PUTTY running Version 1 of SSH