SSH Configuration
(openssh)
1/23/2006 SSH is the standard for secure communication, replacing things such as telnet, rlogin or ftp. OpenSSH 3.6p1 is installed with NW65 (although the Netware OpenSSH Administration Guide says it's 3.7p1), and can be configured by browsing to https://server.ip:2200/sshdadmin. Apparently Netware (Apache) uses LDAP to authenticate you here. If you login and go to Server Preferences, it will show you the status of the sshd server (sshd.nlm). It is most likely not loaded by default. It will also show you the Configuration Storage Mode, which I am leaving at "File," since I am only managing SSH on the one server. The other option is "eDirectory," which will set the configuration for several servers at once. Unfortunately, it looks as though certificates cannot actually be used!
As David Bank commented in a section of Admin
Guide:
To back that up, if you click on the Authentication option in
the left-hand menu and then look at the help screen, it says the following:
Here is an excellent document explaining why. Still, talk about insecure! I have never, ever used SSH before without certificates. Damn you, Netware! First thing I did was change the options, essentially to look like the typical SSH settings on our Linux servers. I did this by editing SYS:\etc\ssh\sshd_config directly rather than using the confusing web interface. Here is what my configuration looks like, with the lines that I changed in bold:
Now, under Server Status, I clicked on Start Server. I tried opening up PuTTY and connecting with a plain old user account, but could not authenticate. Perhaps the user was not in LDAP? I tried again with the admin account, and login worked just fine - I could see the console screen! I still cannot figure out how to determine which users can SSH into the console screen (I can only SSH in with the admin account, even though some of the other accounts can still access the console screen through NoRM!) There are a number of hotkeys that can be sent in your SSH session to accomplish various tasks, such as ctrl-F to switch console screens. The Admin guide details these.
In the end, I decided to leave SSH disabled (by not putting sshd in the autoexec.ncf). It's really easy to get to the console screens through NoRM anyhow, through a normal web browser, and unless I can find a way to map drives through SCP, I see no real advantage to running SSH on Netware. |