Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: SSH Config

  1. #1
    Join Date
    Jul 2008
    Location
    USA, Texas
    Posts
    11

    Default SSH Config

    hello, I'm trying to get ssh up and running for the first time. I believe I have the sshd running. Not sure if it's configured properly. I have a router that is issuing me an ip address and i just may be entering the wrong info in the ssh client I'm using. So i suppose i need to know how to find out my address to enter into the ssh client

  2. #2
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: SSH Config

    Hi & welcome to the forum!

    To walk you through the basic steps;

    By default ssh will be blocked by the openSUSE firewall (unless you specified to open it during the setup).

    You can check this in YaST > Firewall > (TAB) Allowed Services
    There should be an entry 'Secure Shell Server'. If not select the drop down box ' service to allow' and add it to the list.

    2d, is the service running? Open a terminal console , ' su - ' for root rights (entering root password) and enter ' service sshd status '. It should say it's running.
    If not you can set it to run at boot with ' chkconfig sshd on ' and start it with ' service sshd start ' (all must be done as root).

    It's best to check and see if you can ssh to the system from a pc inside the network. Just to be sure it's working correctly.

    Last step is to set up a port forward on your router to forward port 22 to the ip address of you system.

    Hope that helps,
    Wj
    Have a lot of fun!

  3. #3

    Default Re: SSH Config

    Hi,

    It sounds like you don't know the ip address of your linux box. type "/sbin/ifconfig" on the console and it will show your IP address. that is the address you will have to type on your ssh client.Plus follow all the steps mentioned by WJ

    HTH,

    Vinu

  4. #4
    Join Date
    Jul 2008
    Location
    USA, Texas
    Posts
    11

    Default Re: SSH Config

    thanks for the info. I completed all the steps except the last one. When i forward port 20 is it a tcp port or udp. im guessing its tcp.

  5. #5
    Join Date
    Jul 2008
    Location
    USA, Texas
    Posts
    11

    Default Re: SSH Config

    I meant port 22 in the previous post. However, I got the SSHD service up and running and configured correctly checked by a successful login, thanks for all the info and help.

  6. #6
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: SSH Config

    You are welcome.. Glad you have it going!
    -Wj
    Have a lot of fun!

  7. #7
    Join Date
    Jul 2008
    Location
    USA, Texas
    Posts
    11

    Default Re: SSH Config

    I have another question, I tried connecting to my computer from outside the network, and was unsuccessful. Im guessing its because im using the wrong ip address. Am i supposed to use my router's ip address? Is that why i put the port forward in my router? Any help would be great. thanks =]

  8. #8
    Join Date
    Jun 2008
    Location
    Taiwan
    Posts
    150

    Default Re: SSH Config

    You shall enable vpn function of opensuse and put the 1723 port forwarding in your router.
    Regards,
    Bryan Yu
    http://lifestory.moqin.com/

  9. #9
    Join Date
    Jul 2008
    Location
    USA, Texas
    Posts
    11

    Default Re: SSH Config

    Could you tell me what packages i would need to install to get vpn up and running please? Also, what type of security threats are there with vpn and what can I do to improve security?

  10. #10
    Join Date
    Jun 2008
    Location
    Taiwan
    Posts
    150

    Default Re: SSH Config

    Another way is more easlier that is vnc if you try to remote control opensuse from outside.
    1. Select YsST--> Network Services --> Remote Administration (VNC)
    2. Select Allow Remote Administration
    3. Click Finish
    4. Forward 5901~5903 ports
    Regards,
    Bryan Yu
    http://lifestory.moqin.com/

Page 1 of 2 12 LastLast

Posting Permissions

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