Find the answer to your Linux question:
Results 1 to 4 of 4
I remember using a command that allows you to use a program like SSH with linux command line support. Right now the SSH prompt won't allow me to press the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    2

    SSH with command line support in CentOS


    I remember using a command that allows you to use a program like SSH with linux command line support.

    Right now the SSH prompt won't allow me to press the "up" key to view the history of commands entered to quickly enter them again. It would be convenient since we must edit and program in this setting. Isn't it something like "wrap ssh HOST" or something like that?

    thanks in advanced

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Whether you can use this feature depends on the command
    shell on the remote system. If you ssh into a linux
    system running the bash shell, it should work, unless some
    feature of your local terminal blocks or interferes with some
    keystrokes.

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    2
    I finally learned how to do this from a classmate.

    After you "ssh [ server ]" just type the command "bash" and you can use the command history as usual.

    It's so simple I'm surpised no one knew this.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    It seems that the remote system didn't run bash as its
    default shell, but it was available, so when you typed "bash"
    as a command, you invoked it and all worked as you desired.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •