Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7423  / 1 Year ago, fri, november 11, 2022, 10:23:57

I am looking for a ssh client that works like terraterm and has a menu where I can store the credentials of all the ssh server I want to access.
Some of the server s I log in have 50++ chars passwords, that are impossible to know by heart.



I found a screen-shot of the Terra term Menu on the net:



img



That's what I am crying for.



Do you have a hint?



This is how Terra Term Menu looks like






I found sshmenu in apt but it crashes on start:



christian@christian:~$ sshmenu
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- sshmenu (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/bin/sshmenu:3:in `<main>'

More From » ssh

 Answers
3

The bad news is that there doesn't exist a Linux version of Tera Term and SSHMenu doesn't work with (starting with Ubuntu 11.04 - Natty Narwhal).



The good news is that you can use your already installed gnome-terminal to accomplish what you wish. Yes, the default terminal in Ubuntu.



You have to create a profile for each server where you want to connect.



First you need to install sshpass - a tool for non-interactive ssh password authentication if you don't have it already installed:



sudo apt-get install sshpass


And now I will show you an example to illustrate how you must create a profile for one server where you will connect via ssh:




  1. Open a Terminal and click on FileNew Profile.

  2. Type in the Profile name for the Profile such as the server where you want to connect.

  3. After you click Create a new windou will pops up; go to the Title and Command tab.

  4. Tick on Update login record when command is launched.

  5. Tick on Run a custom command instead of my shell.

  6. In the Custom command box add something like:



    sshpass -p "password" ssh user@hostname

  7. Close.




edit gnome-terminal profile



From now you cat automatically connect to the desired server via ssh from gnome-terminal when you will open a new window or new tab from the File menu:



open a new tab with profile from gnome-terminal



Thanks to jjcv for this post from where I was inspired.


[#26306] Sunday, November 13, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nalystcul

Total Points: 390
Total Questions: 106
Total Answers: 115

Location: Tokelau
Member since Sun, May 7, 2023
10 Months ago
nalystcul questions
Sun, May 1, 22, 17:05, 2 Years ago
Mon, Sep 6, 21, 08:12, 3 Years ago
Fri, Mar 18, 22, 20:06, 2 Years ago
;