Koozali.org: home of the SME Server

SSH from outside local network

Matthias J. Lang

SSH from outside local network
« on: June 03, 2002, 03:47:54 PM »
I have installed an e-smith 5.2.1 and configured the system. It's runnig well and I don't have any problems. I want to administrate the system over SSH, so I set the SSH switch in the server-manager to public. Standard passwords are allowed, administrative acces, too. The problem now is, that I can access the system over SSH from the local network, but from remote I don't even see the open port 22. I use putty to connect via SSH and I also red the contributed HOWTO. Does anyone have the same problem and knows how to solve it?

Thank You!
Matthias

heho

e-smith-manager
« Reply #1 on: June 03, 2002, 05:03:50 PM »
Take a look at e-smith-manager,
you will find in Security>Remote Access>Secure shell (ssh) access,
set this parameter to public, that's all .

Thomas Loehr

Re: SSH from outside local network
« Reply #2 on: June 03, 2002, 05:10:34 PM »
Can you access the Blade-Server? Check the Port-settings from Putty (ssh - tunnels: source port (980) and destination port (localhost:980) it may work with this values. Have you modified/added the valid IP-Adress as mentioned in the remote-mgr-access-howto.html document (http://www.e-smith.org/docs/howto/...)

regards
Thomas

James Phillips

Re: SSH from outside local network
« Reply #3 on: June 03, 2002, 05:15:18 PM »
From the outside, port 22 would be closed, you simply need to configure port-forwarding in order to do this. Accept incoming connections on port 22 and forward them to port 22. This should now allow you to access ssh using putty. For putty updates visit http://www.beldin.net and search under 'The Man' then "The Software' but try not to vomit when you see the website...

James Phillips

Jonathan

Re: SSH from outside local network
« Reply #4 on: June 03, 2002, 05:17:09 PM »
I found this here http://geocities.com/mrfragger/e-smith/ssh-remotewebadmin.html


Using Putty as SSH client (can't do SSH port forwarding though)

From: Joost_De_Raeymaeker@nospammywhammyrsvp.pt
Subject: Re: [e-smith-devinfo] Q: Config'g PuTty as SSH for e-smith 4.1.1
Date: Wed, 21 Mar 2001 12:04:39 +0000

It's fairly simple, and is explained in the Putty (incomplete) online
documentation.
1. In e-smith manager, under "Remote acess" enable ssh access (private),
allow administrative command line access over ssh, and Allow ssh access
using standard passwords. Save your settings
2. Run Putty and login to your host with root account and password.
3. Run Puttygen and create a key pair, give it a meaningful name and copy
the contents to the clipboard. Save the key.
4. In the SSH shell you opened with putty, go to ~/.ssh and create the
file authorized_keys. Copy the contents of the key you created into it
(right mouse-click in putty terminal window)
5. Logout.
6. In e-smith manager, under "Remote acess" enable ssh access (private),
allow administrative command line access over ssh, and Set Allow ssh
access using standard passwords to NO. Save your settings.
7. In the Putty configuration, on the SSH tab, choose the keyfile you
saved. save your settings, and login to your e-smith host with user name
root, and the keyfile password.
8. VoilĂ  (Hope I didn't forget anything).

Joost



Hope this works!

BTW Way do you use putty, I thought it would just be possible to set the SSH access to public in the server manager and the whole thing should work...

Good luck!

Jonathan

Dan Brown

Re: SSH from outside local network
« Reply #5 on: June 03, 2002, 06:33:34 PM »
Actually, you can do SSH tunneling in putty, it's quite simple too.  There's a writeup on it in the contrib howtos area.