Koozali.org: home of the SME Server

Putty Problem

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Putty Problem
« 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.

Offline stefan24

  • *****
  • 483
  • +0/-0
    • www.sme-server.de
Putty Problem
« Reply #1 on: March 24, 2005, 01:08:02 PM »
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?

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Putty Problem
« Reply #2 on: March 24, 2005, 01:34:22 PM »
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

Offline markehle

  • ****
  • 125
  • +0/-0
Putty Problem
« Reply #3 on: March 24, 2005, 07:41:55 PM »
Maybe check your putty SSH settings?

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Putty Problem
« Reply #4 on: March 25, 2005, 03:25:27 PM »
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

Offline markehle

  • ****
  • 125
  • +0/-0
Putty Problem
« Reply #5 on: March 26, 2005, 12:06:10 AM »
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.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Putty Problem
« Reply #6 on: March 27, 2005, 12:11:36 AM »
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

taufan

Putty Problem
« Reply #7 on: March 30, 2005, 01:17:42 PM »
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?

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Putty Problem
« Reply #8 on: March 30, 2005, 02:03:10 PM »
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

Quail_Linux

Putty Problem
« Reply #9 on: March 30, 2005, 03:03:13 PM »
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:
Code: [Select]

[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config

Code: [Select]

[root@e-smith ]# echo "X11Forwarding yes" > /etc/e-smith/templates-custom/etc/ssh/sshd_config/X11Forwarding

Code: [Select]

[root@e-smith ]# /sbin/e-smith/expand-template /etc/ssh/sshd_config

Now restart the SSH deamon
Code: [Select]

[root@e-smith ]# service sshd restart


HTH

Offline nald

  • ***
  • 66
  • +0/-0
    • http://www.phisl.net
Putty Problem
« Reply #10 on: March 31, 2005, 11:58:26 AM »
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
............

joemetro2000

cygwin ssh and scp as alternative to putty
« Reply #11 on: March 31, 2005, 10:11:02 PM »
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:

Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
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

taufan

Putty Problem
« Reply #12 on: April 01, 2005, 08:01:04 AM »
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