On Tuesday 03 October 2006 19:04, James wrote:
> Hello
>
> OT:  I use kde and quite a lot of konsole sessions for  admin of many other
> systems.  I currently manually use 'rename' in kde to put the system's
> hostname into the tab (located at the bottom of the window), for quick
> reference. Is there a way (trick) to automatically do this?
>
> My prompt (command line) does this automatically, I just want the hostname
> of the remote host(or IP address)  I ssh into to replace the 'shell #'
> that is there by default. If not ssh'd into a remote system, then the
> default 'shell #' is ok as the default.

Not sure if you can rename them based on what you run in the session.
But you can name them when you start a session.

Click on the menu entry Settings->Configure Konsole
Choose the Session tab.

Create a new session for each remote machine

"Name" is used in the tabname, so you can enter the hostname.
"Execute" is used to start the session, if you want to start ssh directly 
enter "ssh <host>" here.

There are a few examples present you can look at.
You probably haven't used them yet, otherwise you wouldn't be asking this :)

When you want a new session you should choose the session you configured 
instead of the default session named "Shell".
-- 
[email protected] mailing list

Reply via email to