Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: ssh

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    it means the SSH daemon is running ( pid 2858 ) and is listening on all networks for SSH connections on TCP port 22.
    Last edited by atreyu; 07-22-2011 at 03:33 PM.

  2. #12
    What i do if the server has router for connection with internet ???
    One client how must write the ssh ?

    He must put the external ip or combination with the internal for LAN?
    when i write ssh i define only the external ip.

  3. #13
    You need to explain more clearly what you are trying to do.

    If the SSH client on one PC is trying to access the SSH server on another PC and they are on the same LAN (e.g., then you can just use the SSH server PC's LAN ip address (or hostname, if the client PC resolves it correctly).

    If however, you mean the SSH client PC is trying to access the SSH server PC remotely, via the Internet, then you need to set up port forwarding on the router that your SSH server is using. In the router's port configuration, either the SSH port itself ( 22 ), or more typically some other port will be redirected to the SSH server, let's say port 2022. Then the client would attach to it by connecting to the SSH server's external ip address (or some domain name you set up) using that particular port number, e.g.:
    ssh -p 2022

  4. $spacer_open
  5. #14
    ok. thanks. This is that i was tried to learn.

    Therefore , my problem will be solved if i do port forwarding in a router.

  6. #15
    Is there any command which start the sshd automatically with the start of pc?

  7. #16
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Depends a bit on your linux distribution.
    On RedHat/CentOS/Fedora/Scientific Linux this is done by:
    chkconfig sshd on:
    You must always face the curtain with a bow.

Posting Permissions

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