Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 09, 2007 5:30 pm 
Offline
Senior Newbie

Joined: Sun Sep 09, 2007 3:13 pm
Posts: 9
Hi, new to linode just installed debian, apache2, firehol (why not), xemacs.
I find the shell is a little wierd. Most obviously, control-a does not move the cursor to the left edge but instead acts buggy.
Emacs is unusable because ctrl-s (to search) gets eaten by the shell and that makes it halt input!
Anyway I'd like to get ctrl-a working on command line and in emacs, and maybe others too.

Also perhaps related, when you run "firehol try" to test the firewall setup, the shell tries to execute line 1 which is text but it shouldn't be executed I think, so it causes a silly error message, and the "Keep the firewall?" message doesn't get displayed it seems.

# firehol try
/tmp/.firehol-tmp-10809-11422-7997/firehol-tmp.sh: line 1: Starting: command not found

I'm new to debian but have used the same setup (teraterm ssh) with centos no problem on other sites.

FWIW teraterm which otherwise has been great, also has trouble with login. In particular it requires challenge/response to log in.

Best,
Matt R.


Top
   
 Post subject:
PostPosted: Sun Sep 09, 2007 5:34 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
This sounds to me like you're logging in through Lish, instead of sshing in directly to your IP address.

https://www.linode.com/members/remote.cfm
http://www.linode.com/wiki/index.php/LISH

-Chris


Top
   
 Post subject: Solved
PostPosted: Sun Sep 09, 2007 5:45 pm 
Offline
Senior Newbie

Joined: Sun Sep 09, 2007 3:13 pm
Posts: 9
Yup. I just figured it out too. For some reason teraterm would not let me log in as root. So I went in as my account username which brought up lish, and then logged in from there. So for some reason lish makes it very hard to use emacs. However I am using the same IP address in both cases.

Anyway I just used putty and got in as root, using challenge-response, and ctrl-a and ctrl-s work correctly.

That was wierd. Any idea why?


Top
   
 Post subject:
PostPosted: Sun Sep 09, 2007 5:53 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Lish connects you to the screen session your UML runs in. Control-A is the "command" character for screen. Check it: Log into Lish, then type: Control-A followed by a "d" (without control). It takes you to Lish's command prompt. Type help there to get a menu. It's good stuff.

Also, it's one or the other. Either you're accessing the host to connect to Lish, or you're connecting directly to your Linode's sshd through its IP address...

-Chris


Last edited by caker on Sun Sep 09, 2007 5:56 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Sun Sep 09, 2007 5:55 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
When you access the lish shell you're talking to the linode management interface, and not to your own linode. This "lish" interface allows you to access the console of your linode and do other things (like force a hard reboot). Because you're talking to the management interface you need to login as the account username/password setup to manage linode.

Under normal circumstances you should not normally need to do this.

Because of how the management interface works, control-a, control-s, control-q and a few other characters may be "stolen".

Normally you want to log into your own linode instance.

What you did with putty was log into your linode, and that's why it worked.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject: Thanks
PostPosted: Mon Sep 10, 2007 2:26 pm 
Offline
Senior Newbie

Joined: Sun Sep 09, 2007 3:13 pm
Posts: 9
Ah, of course I had forgotten I was under screen.

Also wondered why challenge-response is required, and ordinary login is not accepted, but it is not a big deal.

Thanks.

Matt


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group