Announcement

Collapse
No announcement yet.

Possible to make a telnet connection a favourite in Kmenu?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Possible to make a telnet connection a favourite in Kmenu?

    I have a server at home and my only interface to it is through telnet.

    I have learned that I can use

    Code:
    ssh -l <username> <IP Address>
    in a terminal window to access it. But to avoid having to open a terminal window and then write this to access it, I would like to have a shortcut for it in my favourites menu. Possible?
    Regards,
    Oceanwatcher
    Blog: http://www.wisnaes.com/
    Pictures: http://www.oceanwatcher.com/
    Software tips (in Norwegian): http://www.datahverdag.com/

    #2
    Re: Possible to make a telnet connection a favourite in Kmenu?

    Create a konsole profile that run ssh. In console select Settings->Manage Profiles. Then New Profile.
    Give a name like home, the command "ssh home" or "ssh -Y home" if you want Xforwarding. Click apply and OK. Now under file you will find a home entry that opens a new tab with ssh to your home. You can set hotkeys for it, and it works very well with keychain.

    You can then create a menu that calls "konsole --profile home" if you want.

    Comment


      #3
      Re: Possible to make a telnet connection a favourite in Kmenu?

      Did the konsole profile. It is available under File. If I choose it there, it opens a new tab and connects to the server. So far all is well.

      I made a new menuitem by right-clicking on the K icon and select Menu editor. There I added an item as you explained and put

      konsole --profile server

      as command.

      The problem is that it does not open with this profile. It opens with the default profile and I have to choose the other profile from the File menu.

      It is of course a lot easier any way, but would be cool to get it completely right.
      Regards,
      Oceanwatcher
      Blog: http://www.wisnaes.com/
      Pictures: http://www.oceanwatcher.com/
      Software tips (in Norwegian): http://www.datahverdag.com/

      Comment


        #4
        Re: Possible to make a telnet connection a favourite in Kmenu?

        It works for me. I am guessing that your command is wrong in some small way, maybe case sensitivity? Try the command from the command line and see if it works.

        Comment


          #5
          Re: Possible to make a telnet connection a favourite in Kmenu?

          Yup, not working from the commandline either.

          Alt-F2
          konsole --profile server

          I get the default profile.

          Did you try to connect to a server somewhere instead of your own pc?
          Regards,
          Oceanwatcher
          Blog: http://www.wisnaes.com/
          Pictures: http://www.oceanwatcher.com/
          Software tips (in Norwegian): http://www.datahverdag.com/

          Comment


            #6
            Re: Possible to make a telnet connection a favourite in Kmenu?

            I use it to connect to many server in various places that I manage. Well, actually I usually use mrxvt which I have setup the same way, but I have konsole setup for that also.

            In ~/.kde/share/apps/konsole there should be a .profile file for each profile you setup. The profile on the command line must be exactly the filename minus .profile.

            You can run konsole --list-profiles to get a list. If you do not find a discrepancy in any of this maybe just delete the profile and recreate it. This is not even new. konsole has worked like this for years.

            Comment

            Working...
            X