Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Tib on March 24, 2005, 12:45:06 PM
-
Does anyone know how to get arround my problem.
I open up a putty session and type in my user name ... then password that I have been using for ever ... I get a password error.
Now ... if I open WinScp3 and run a putty session through it with same user name and password everything is ok ... I can get in.
Would this be a putty problem or is this the sme server blocking putty out because I got the password wrong a few times.
I got this problem after I tried to login to my server over an openvpn connection from work. Over openvpn it didn't seem to like my password.
Thanks
Tib.
-
Hi!
Which user do you use when logging in with Putty?
"my user name", that means anything but root or admin is not allowed in default configurations.
Which user do you use with WinSCP?
-
I use "root" as the user name or "admin" depending on what I wish to do ... the user name is not the problem ... the problem is that the password all of a sudden is not accepted anylonger through a putty only session.
If i open Winscp3 and then open up putty through the drop down menu in winscp3 then it logs in no probs.
I use the same username "root" in winscp as well ... as far as I know thats all you can use to log into the server.
Tib
-
Maybe check your putty SSH settings?
-
The settings are not the problem ... I need to find out how to re-set the password within putty ... I think or re-set the password for ssh connection within SME. But I don't think it's ssh within SME thats the problem ... I can't thest this atm cause I don't have a second machine to test it with.
If the problem was with ssh in SME then I wouldn't be able to login with the putty session within Winscp3 ... which I can do.
Someone must have had a similar problem ... anyone?
Tib
-
I'm talking about putty's ssh settings. Take a look at the SSH category in Putty's configuration. Also, make sure that you are using the correct port by making sure that you are in fact using SSH instead of telnet. I know for a fact that if you use SSH version one it won't work. You might try downloading a fresh copy of putty.
Just some ideas.
-
Just incase other people have this problem ... all I had to do is re-set the admin password through server-manager and all was fine again.
Regards,
Tib
-
I too have a problem with my putty.... whe i try to run it there is an error message "Network error: connection refused" what is that mean and how can i fix that?
-
taufan
what user name are you using ... you can only use ... admin or root.
root will give you the command line and admin will give you the setup screen ... same as if you were loging in on your servers monitor.
You also have to use the admin or root password.
Under Security there is a Remote Access tab click on that and make sure you have secure shell access enabled for local networks as well as yes to both Allow administrative command line access over secure shell and Allow secure shell access using standard passwords
Try that and see if that helps
Tib
-
Hi taufan,
If you are using a later than 5.5 version of SME server you need to setup ssh so it can be access over a network under root, or you will only beable to log in as admin over a network or net.
here is how to do it:
[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config
[root@e-smith ]# echo "X11Forwarding yes" > /etc/e-smith/templates-custom/etc/ssh/sshd_config/X11Forwarding
[root@e-smith ]# /sbin/e-smith/expand-template /etc/ssh/sshd_config
Now restart the SSH deamon
[root@e-smith ]# service sshd restart
HTH
-
Hi,
I do have the same problem. I can connect to my SME box using putty but when i type the password which is my real password then it is access denied.
login as: root
Sent username "root"
root@203.215.94.39's password:
Access denied
root@203.215.94.39's password:
Access denied
root@203.215.94.39's password:
This happen when i installed ntop 3.1 which is for network tracking.
http://no.longer.valid/phpwiki/index.php/How%20to%20install%20and%20set%20up%20ntop%203.1
Does anyone have an idea? Please help...
Thanks...
Nald
-
Hi,
I'm new to the sme server but if you are looking
for an alternative to putty, you can use the cygwin
tools for windows for ssh and scp access.
I have searched the www.contribs.org site and don't
really see any mention of cygwin as an alternative
to the complicated terminal server setups that
are mentioned frequently for windows client machines.
I installed the full set of cygwin tools at:
http://www.cygwin.com/
It takes awhile to download and install (2 step
process). Once you are installed you can access
the server and the server manager console from
a simple cygwin terminal running on your Window's
XP or 2000 box. If you have set up ssh for public
use as mentioned in the earlier post, you can
access your server from anywhere (I access mine
from work behind a firewall) by:
ssh root@www.your_server_here.com
This will log you in as root over ssh with no
configuration on the client side (winXP) at all.
To access the server manager while logged in as root
do:
su admin
Now you are logged into the server console.
I also use simple shell scripts to copy files to
the server via scp over the same cygwin window.
Example:
scp file root@www.your_server_here.com:/tmp/file
I have found the cygwin to be much easier to deal
with on Windows XP than putty.
Hope this helps,
--JOe
-
Hi all
I'm sorry to say that I forgot to enabled my ssh service so that's why my putty doesn't work..... so thx guys for your help