LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2004, 07:27 AM   #1
Bockwurst
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
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
 
Old 05-04-2004, 07:42 AM   #2
Bockwurst
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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??
 
Old 05-04-2004, 07:43 AM   #3
andredude
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
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
 
Old 05-04-2004, 07:49 AM   #4
Bockwurst
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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...
 
Old 05-05-2004, 08:42 AM   #5
andredude
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
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.
 
Old 05-05-2004, 09:37 AM   #6
Bockwurst
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
thnx a million!!

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

still many thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing pc with putty (ssh) Wozl Linux - Networking 1 10-10-2005 03:44 PM
PuTTY/OS X SSH confusion stutterbug Linux - General 1 03-12-2005 04:38 PM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM
SSH using putty rkemp Linux - Networking 3 03-06-2004 05:04 PM
ssh and using putty from the client ashley75 Linux - General 12 09-11-2003 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration