Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Oct 2007 @ Germany
#1
I started to setup my N800 and installed openssh and osso-xterm to connect to my 2 servers. First I could and everything went well, but after installing more progs finally a test of ssh again did not succed.

What happens is, that ssh is working fine, beside the fact that after passing the correct password the cursor stops and I can only close the window (no CTRL-D action possible). A test with:
"ssh -v root@SERVER ls" showed me the directory output of the server, so it seems to be a kind of "terminal problem" maybe.

I then installed on the N800 an sshd and tried to connect to it. Well first I have to ping the router from the N800 to make it alive to the world (?) and if I putty into it it get (password correct):
"server refused to allocate pty stdin: is not a tty" something.

So I really think it's a kind of terminal problem - but no clue how to fix it - and what did make it happen. I just remember that I installed gaim, including the de-locales, etc.
 
Posts: 4 | Thanked: 0 times | Joined on Oct 2007 @ Germany
#2
No ideas at all?

I allready updated to the actual firmware and coming with it the memory was erased and I had to re-install and re-configure my apps. This did not help saving the prob.

So what to do with this pain-in-the-a... problem.
How can I reset the N800 totally?
Any other forums available with N800 topic and good know-how?

Further suggestions?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#3
Reflashing a new firmware image is as close to resetting the N800 as you can get.. it's the same as a 'cold reset' on a PDA.

Have you tried to ssh from the N800 to some other system, where your router is not involved?

Something else you could try is to start a debugging ssh daemon on one of your servers, e.g.

sshd -d -d -d -p 1234

(multiple -d increases the debug output. 3 is max and maybe too overwhelming. In debug mode sshd will stay in foreground and not detach as a daemon, and it terminates when you disconnect, see below).

Then, from the n800: ssh -v -l user -p 1234 servername

This exercise is usually enough to figure out the problemes I tend to run into with ssh.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2007-11-04 at 14:26.
 
Posts: 4 | Thanked: 0 times | Joined on Oct 2007 @ Germany
#4
Thanx for your ideas. Well I tried, but don't see any end...
Maybe a more experienced ssh user.

Interesting is, that "ssh root@server ls" works fine, but "ssh root@server" stops. It seems to hang with interactive mode somehow.

Regarding the router question. Well, 2 other Laptops and one small server are connecting to and over the router (Speedport W700V) and all working fine. Only can't ssh to and from the N800 internally or externally.

The servers output comes as attached file. Maybe someone can read something in it.
Attached Files
File Type: txt Notiz2.txt (10.1 KB, 155 views)
 
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#5
I just had this happen as well, after installing a bunch of apps. Googling the "stdin: is not a tty" revealed that it can be caused by a malformed .bashrc. Looking in /root showed a .bashrc that "I" never installed. I deleted it and ssh and xterm started working again.

Jeff
 
Posts: 4 | Thanked: 0 times | Joined on Oct 2007 @ Germany
#6
Originally Posted by JeffElkins View Post
I just had this happen as well, after installing a bunch of apps. Googling the "stdin: is not a tty" revealed that it can be caused by a malformed .bashrc. Looking in /root showed a .bashrc that "I" never installed. I deleted it and ssh and xterm started working again.
Well I googled this before too, but the .bashrc did not look strange to me and also an ssh from the normal user did also not succed (which had no .bashrc). But, I deleted it now - just to give it a try - the problem still exists. Thx Jeff anyway.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:57.