LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lost key function when ssh to remote machine (https://www.linuxquestions.org/questions/linux-newbie-8/lost-key-function-when-ssh-to-remote-machine-617966/)

ufmale 02-01-2008 11:07 AM

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?

waelaltaqi 02-02-2008 10:30 AM

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:


Code:

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?


All times are GMT -5. The time now is 10:18 AM.