Announcement

Collapse
No announcement yet.

How to run SSH server?

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

    How to run SSH server?

    I want to be able to access my computer remotely via Secure Shell (SSH). How do I do this ?

    #2
    Re: How to run SSH server?

    SSH_VPN
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: How to run SSH server?

      I try to explain it shortly.
      1. Free ssh port on both firewalls, if you have them.
      2. Install ssh package on remote computer. Then sshd process must be running.
      3. Generate keys on local computer with
      Code:
      $ ssh-keygen -t dsa
      4. Public key from the file ~/.ssh/id_dsa.pub on the local computer save in file ~/.ssh/autohorized_keys on remote computer
      5 Try ssh connection
      Code:
      $ ssh -2 -v remote_user@remote_ip, for example $ ssh -2 -v ko@192.168.2.104
      6. There is a question (only first time). answer yes
      Code:
      The authenticity of host '192.168.2.104 (192.168.2.104)' can't be established.
      RSA key fingerprint is b2:75:eb:.............
      Are you sure you want to continue connecting (yes/no)? yes
      7. You should get promt
      Code:
      remote_user@remote_computer_name:~$
      And you are on. To transfer files use scp or rsync, to end use exit
      Next time you can use for example Krusader:
      protokol: fish, ip (not name) of remote computer, port 22, remote username
      Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

      Comment


        #4
        Re: How to run SSH server?

        Sorry, I wasn't clear enough . The computer that I want to act as the SSH server is running Kubuntu, but the client computer will run Windows 7 (of course, josefko's information could be useful if I wanted to do this at school, where most of our workstations run Mac OS X).

        Comment


          #5
          Re: How to run SSH server?

          I didn't tried it, but I read that basic Windows SSH client is freeware Putty and there is a shell ssh in Cygwin.
          Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

          Comment


            #6
            Re: How to run SSH server?

            If snowhog's link is too advanced, try first setting up an ssh server

            I ssh from winxp at work into my kubuntu box at home using putty.

            Comment

            Working...
            X