View previous topic :: View next topic |
Author |
Message |
schmidp n00b
Joined: 26 Apr 2002 Posts: 5
|
Posted: Fri Apr 26, 2002 10:51 am Post subject: some problems |
|
|
hi,
my first problem concerns sshd: i can't login into my gentoo machine,
even if i try "ssh localhost", sshd does not accept my passwort, i'm a normal user, so it's not the permit root login option.
the other problem is caused by xterm. it't looks if it doesn't use any profiles, i only get this prompt: sh-2.05a$.
any ideas?
greets philipp |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Apr 26, 2002 12:32 pm Post subject: Re: some problems |
|
|
schmidp wrote: | hi,
my first problem concerns sshd: i can't login into my gentoo machine,
even if i try "ssh localhost", sshd does not accept my passwort, i'm a normal user, so it's not the permit root login option. |
What kind of errors are you getting in your /var/log/sshd/current log? Have you looked at your /etc/ssh/sshd_config file and made sure all the config options made sense?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
dnaquin n00b
Joined: 19 Apr 2002 Posts: 21 Location: Bayou Gauche, Louisiana
|
Posted: Fri Apr 26, 2002 1:10 pm Post subject: |
|
|
Try starting xterm with the -ls option. Like ...
_________________ Devin Naquin |
|
Back to top |
|
|
schmidp n00b
Joined: 26 Apr 2002 Posts: 5
|
Posted: Fri Apr 26, 2002 1:28 pm Post subject: Re: some problems |
|
|
klieber wrote: | What kind of errors are you getting in your /var/log/sshd/current log? Have you looked at your /etc/ssh/sshd_config file and made sure all the config options made sense?
|
when i try a "ssh localhost" and enter my password a few times, sshd logs this:
Apr 26 17:08:49 [sshd] Server listening on 0.0.0.0 port 22.
Apr 26 17:10:17 [sshd] Failed keyboard-interactive for schmidp from 127.0.0.1 port 32768 ssh2
Apr 26 17:10:27 [sshd] Disconnecting: protocol error: rcvd type 61
Apr 26 17:10:27 [sshd] Cannot release PAM authentication[4]: System error
in /etc/ssh/sshd_config i enabled the following options:
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 600
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
RhostsAuthentication no
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PasswordAuthentication yes
PAMAuthenticationViaKbdInt yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
Subsystem sftp /usr/lib/misc/sftp-server
thx philipp |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Apr 26, 2002 2:19 pm Post subject: |
|
|
Hmm..nothing leaps out at me as being problematic -- your config file looks fine.
Try the following:
Code: | ssh -v -v localhost |
And see if you get any interesting error messages. (you'll get a lot of output -- please don't simply cat it all here -- just post anything that looks pertinent.)
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
aj n00b
Joined: 25 Apr 2002 Posts: 7
|
Posted: Fri Apr 26, 2002 2:27 pm Post subject: |
|
|
Make sure your user has a shell entry in the /etc/passwd file.
No shell. No login.
This is in the FAQ.
-aj |
|
Back to top |
|
|
schmidp n00b
Joined: 26 Apr 2002 Posts: 5
|
Posted: Fri Apr 26, 2002 2:51 pm Post subject: |
|
|
aj wrote: | Make sure your user has a shell entry in the /etc/passwd file.
No shell. No login.
This is in the FAQ.
-aj |
yes, that's the problem.
sorry for the FAQ thing!
greets philipp |
|
Back to top |
|
|
|