View previous topic :: View next topic |
Author |
Message |
Kimo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jul 2003 Posts: 44
|
Posted: Wed Mar 24, 2004 2:13 pm Post subject: Strange SSH problem! |
|
|
I have two gentoo boxes - one is headless.
When I am trying to ssh from the other gentoo machine, everything proceeds as expected, it asks for my password, I enter it and it appears to connect, but...
When I run pwd, or look at the directory listing, it is STILL at the local box!!
However, my prompts and colors changed to the configurations I have on the headless box!
I am stumped...Anyone more enlightened than I? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
at6 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/3204580141d3bdfc21f32.jpg)
Joined: 28 Nov 2002 Posts: 78 Location: /dev/null
|
Posted: Wed Mar 24, 2004 2:38 pm Post subject: |
|
|
hi,
two possible reasons for this ssh failure.
-> your ssh server is not correctly configured?
(have you changed your sshd.conf? yes? remove your sshd.conf and reemerge ssh)
-> you've forgotten to include pty support in the kernel
(so the auth procedure works, but then everythings stops.
try to recompile your kernel with pty support.)
i think it's number 2
regards,
marc _________________ debian: stable but lame! suse: unstable and lame! gentoo: stable and only 4 geeks!
Gadget tests! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kimo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jul 2003 Posts: 44
|
Posted: Wed Mar 24, 2004 2:51 pm Post subject: |
|
|
Ok - Thanks for the response -
About the pty support - Would this manifest itself in other ways as well?
I am able to ssh to the headless box using PuTTY from windows 2000, no problems at all.
Therefore I am assuming that I need to look at pty support in the kernel on the CLIENT machine?
Is this correct?
Thanks!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Wed Mar 24, 2004 3:13 pm Post subject: |
|
|
are you absolutly sure you'r seeing the directory structure of the heady box not the ehadless? try doing the ssh, then touch test then exit. Now can you see test?
Could just be that you are sshing into the same directory that you are in when you ssh. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kimo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jul 2003 Posts: 44
|
Posted: Wed Mar 24, 2004 3:55 pm Post subject: |
|
|
I don't have access to it now, but I will try when I get home - However, I am fairly certain.
(if I am wrong, well, then I'll be very embarrassed! ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kimo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jul 2003 Posts: 44
|
Posted: Thu Mar 25, 2004 2:03 pm Post subject: |
|
|
Ok I checked it -
I remain on the one box.
For example, If I start at Euclid, and I ssh to aristotle, I would expect to be on aristotle after the ssh, but no...My colors change, but I am still
<username>@euclid$
Like I said, PuTTY works fine.
I re-emerged ssh for good measure, etc-update, overwrote config, no change. I get NO error messages.
Any ideas?
Jamie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sir_Chancealot n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Jan 2004 Posts: 63
|
Posted: Fri Mar 26, 2004 2:51 am Post subject: |
|
|
Kimo wrote: | Ok I checked it -
I remain on the one box.
For example, If I start at Euclid, and I ssh to aristotle, I would expect to be on aristotle after the ssh, but no...My colors change, but I am still
<username>@euclid$
Like I said, PuTTY works fine.
I re-emerged ssh for good measure, etc-update, overwrote config, no change. I get NO error messages.
Any ideas?
Jamie |
Have you tried SSHing into aristotle through PuTTY, then SSHing into Euclid to see if that works? Then try using PuTTY into Euclid, then SSHing into Aristotle. Second, are the accounts seperate, i.e., the servers are not using LDAP/NIS, etc? The reason I ask is that I know on MS and Novell networks, you can authenticate to one server, but it can bounce you to another server for your actual connections. I don't know enough about LDAP/NIS, et. al, to know if that is possible. But at least I've given you several more troubleshooting approaches to help you narrow down the problem. Also, try SSHing into the machines using a different account than the one you have been using.
My instinct tells me the problem is on Euclid, but that is just a hunch. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
converter Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/41407178043077d1e0ba1d.png)
Joined: 24 Dec 2002 Posts: 163
|
Posted: Fri Mar 26, 2004 12:49 pm Post subject: |
|
|
Try increasing client verbosity:
Code: | $ ssh -v remotehost |
The more v's, the more info is dumped to the terminal. If -v doesn't reveal anything, try -vv, -vvv and so on. _________________ converter |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|