Results 1 to 2 of 2
  1. #1

    SSH Login options

    Hi all.

    I am trying to create login for a remote serial console setup on Linux.
    Each user will have a login say AAA, put I want to be able to
    specify the actual port they want to login to once they are
    in the server.

    That is, using a colon serperated login like
    AAA:99 for user AAA, wanting to access port 99.
    I can login using the username with the colon in it, however, as expected the :99 is removed and the user is logged in with AAA...
    only problem is I can't find the 99 anywhere..

    Does anybody know if this is accessible via some variable?

    Thanks

    Jason

  2. #2
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,104
    You want to specify what port a specific user logs into at your server?

    If this is SSH, all SSH connections by default are on port 22. To modify the port, you'd have to modify the configuration file of the SSH server that you are using (so that it listens on a different port).

    If you want to know from another terminal (console) to which port a specific terminal a user it logged onto -- you can use the various commands such as w to find out.

    Hopefully this helps.

Posting Permissions

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