Professional Web Applications Themes

sshd on nonstandard port : how to configure ? - Mac Networking

Hi, running macos 10.3.3, OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f I already opened the firewall for a nonstandard port to accept ssh trafic. I also edited /private/etc/sshd_config to listen to multiple ports, just like I do on linux & solaris systems. Still I can't connect to the macosx machine when specifying the nonstandard port. What I get is connection refused. When specifying the default port it all works ok. Also tried after reboot with no success. How should I configure the ssh service to accept incoming trafic on nonstandard ports ? thanks, -- With kind regards, Ronald http://ronr.nl/unix-dba...

  1. #1

    Default sshd on nonstandard port : how to configure ?

    Hi,

    running macos 10.3.3,
    OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f

    I already opened the firewall for a nonstandard port to accept ssh trafic. I
    also edited /private/etc/sshd_config to listen to multiple ports, just like I
    do on linux & solaris systems. Still I can't connect to the macosx machine
    when specifying the nonstandard port.

    What I get is connection refused. When specifying the default port it all
    works ok. Also tried after reboot with no success.

    How should I configure the ssh service to accept incoming trafic on
    nonstandard ports ?

    thanks,
    --
    With kind regards,
    Ronald
    http://ronr.nl/unix-dba

    Ronald Guest

  2. #2

    Default Re: sshd on nonstandard port : how to configure ?

    On 2004-05-06, Ronald Rood <nl> wrote: 

    In 10.3 sshd goes through xinetd. To modify the listening port you'll
    have to edit /etc/xinetd.d/ssh, and then send a HUP to the xinetd
    process (kill -HUP `cat /var/run/xinetd.pid`). Offhand I don't know
    how to specify multiple listening ports for a single service in xinetd
    but if it's possible, the man page will tell you how. Or I suppose
    you could create a separate xinetd file altogether, identical to ssh
    except for the port/service.

    Btw why are you doing this? What's the win with listening on more
    than port? Just curious.







    noman Guest

  3. #3

    Default Re: sshd on nonstandard port : how to configure ?

    On Fri, 7 May 2004 0:44:05 +0200, noman wrote
    (in message <Uczmc.43161$Ik.2786372attbi_s53>):
     
    >
    > In 10.3 sshd goes through xinetd. To modify the listening port you'll
    > have to edit /etc/xinetd.d/ssh, and then send a HUP to the xinetd
    >
    > Btw why are you doing this? What's the win with listening on more
    > than port? Just curious.[/ref]

    Thanks for the pointer,
    I want to pass a proxy that only allows http/https traffic. So I need a
    listener on 443 to allow me to connect using an ssl tunnel.

    --
    With kind regards,
    Ronald
    http://ronr.nl/unix-dba

    Ronald Guest

Similar Threads

  1. how to configure a port for install
    By Bob Ababurko in forum FreeBSD
    Replies: 0
    Last Post: February 16th, 09:35 PM
  2. configure 2nd enet port?
    By Peter KERR in forum Mac Networking
    Replies: 0
    Last Post: September 23rd, 05:43 AM
  3. configure Serial port
    By mika in forum Sun Solaris
    Replies: 5
    Last Post: August 21st, 08:24 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139