LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Logging in via putty ssh ... no luck (https://www.linuxquestions.org/questions/linux-networking-3/logging-in-via-putty-ssh-no-luck-177689/)

Bockwurst 05-04-2004 07:27 AM

Logging in via putty ssh ... no luck
 
Hi everyone,

I've made a new user with WebMin, sorted the groups correctly but i seem to be only able to login through ftp and Webmin, i cannot login via putty. Is there somewhere i should give ssh access on this user??

the remote linux is a red hat 7 and i'm certainly not a good linux user.

Any help is greatly appreciated

Thnx in advance

Bockwurst 05-04-2004 07:42 AM

Well, after double-checking every setting, i've managed to login with putty, but i cannot get into the home directory.
When i login with my other user, i come into the home directory that has been set, with this new user, i get : bash2-2.05a$
.... any idea's??

andredude 05-04-2004 07:43 AM

you need to make sure sshd is installed and running. on later redhat versions you can do this with 'service sshd start', this should work on rh7 as far as i know

Bockwurst 05-04-2004 07:49 AM

well, i think it is installed and running, because i can login with 3 other users without any problem, just this new user i've made is making my hair pulled out. Through Webmin i can adjust ssh access control and so forth, so my guess it is running...

andredude 05-05-2004 08:42 AM

that prompt is ok, it just does not display your path, you are probably in your home directory anyway. type in 'pwd' to see your current working directory. you can change your prompt by doing things like:

export PS1='[\u@\h \W] '

so your ssh is working fine. to see more info on how to change your prompt do 'man bash', in fact it's probably a good idea to read that page anyway.

Bockwurst 05-05-2004 09:37 AM

thnx a million!!

Well, i've been reading, but very few i understand,.... and it goes on and on and on.....

still many thanks!


All times are GMT -5. The time now is 06:03 AM.