Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2008, 12:07 PM   #1
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
lost key function when ssh to remote machine

I ssh to a remote linux machine, and was trying to <tab> to complete the command sentence eg. vi sim<tap> i should have got a vi simple.txt
if there is a simple.txt in that directory.

However, the <tab> key does not work as it should, and it just create a <tab> space for me.

In addition, when using linux on my local machine, the up key would give me a history command i use previously, but when I ssh to one of the linux machine (not the same machine), that key does not work.

Someone told me that i have to set some profile or customize key on that remote machine for my account. Does anyone know what need to be done?

Last edited by ufmale; 02-01-2008 at 12:31 PM.
Old 02-02-2008, 11:30 AM   #2
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
it sounds to me like you are using an different shell than bash. As you know there are many types of shells for *nix like systems and you might be using one that's not very common. Please type the following command and post the results:

laptop:~$ ps -p $$
  PID TTY          TIME CMD
 3864 pts/2    00:00:00 bash
the above is the output from my laptop and in my case i'm using the bash shell.

what distro + version of linux you are using?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 01:21 AM
ssh to remote machine with public-key method 2007fld Linux - Security 2 08-13-2007 04:13 PM
lost ssh access of remote machine RHEL4..How to get it back? dsids Linux - Networking 12 07-28-2006 07:51 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM
ssh-key authentication failing on one machine chr15t0 Linux - Security 3 08-21-2003 05:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

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