Thread: RsSSHServer - SSH Designed for RSPS

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 RsSSHServer - SSH Designed for RSPS 
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Purpose: To add an SSH interface to your server.
    Difficulty: 4/10 if you don't know ssh.
    Assumed Knowledge: Basic Putty knowledge, java knowledge, packaging knowledge.
    Classes Modified: None, Added contents of package and add a library.
    Tested On(if it applies): Stand alone.

    Download these files: [Only registered and activated users can see links. ]

    Step 1: Add the package files to your src folder.

    Step 2:
    Import the class
    Code:
    import org.nikki.ss*****SSHServer;
    Then, In your server startup method, add:
    Code:
    new RsSSHServer().start();
    Step 3:
    To add users, Create a new file in the main directory named "ssh_users", and add your user in this syntax:
    Code:
    root:password
    Step 4:
    Configure all commands you want in org.nikki.ssh.impl.SSHCommandHandler, Note: Commands are received in strings, so you must parse the strings.

    An example command is already in there, named "echo".
    All commands will be in this syntax.

    Step 5:
    Start your server and try it out!

    To use Putty with it:
    Download putty at [Only registered and activated users can see links. ]
    Enter the following info:
    IP - your server ip, localhost or your vps ip.
    Port - 43593 is the default, you may change this, however port 22 will not work on linux unless root.



    I have not tested this on windows, but it should work the same.
    Tell me if it works please, more updates to this to come

    Credits:
    Nikki
    Apache MINA SSHD developers
    Please don't add/pm me asking for RSPS help!

    Links:
    - [Only registered and activated users can see links. ]
    - [Only registered and activated users can see links. ]

    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Doctor p - Sweet Shop

    Join Date
    Apr 2007
    Age
    28
    Posts
    6,835
    Thanks given
    150
    Thanks received
    584
    Rep Power
    2595
    So you would be like able to shut down the server by SSH?

    Reply With Quote  
     

  4. #3  
    Welcome To The Rodeo

    Zro.'s Avatar
    Join Date
    May 2009
    Posts
    4,378
    Thanks given
    94
    Thanks received
    241
    Rep Power
    714
    very nice
    Reply With Quote  
     

  5. #4  
    Registered Member
    Trock's Avatar
    Join Date
    Jul 2009
    Age
    25
    Posts
    1,915
    Thanks given
    14
    Thanks received
    66
    Rep Power
    532
    hate that u do 500 + really pisses me off but i got alot of live for u nikki i need u i want uI WFUCKING MUST HAVE U
    Quote Originally Posted by Psyduck View Post
    Vouch

    Quote Originally Posted by VelSion View Post
    Huge Vouch, made so many deals with him, went smoothly!
    Reply With Quote  
     

  6. #5  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Quote Originally Posted by Nathan View Post
    So you would be like able to shut down the server by SSH?
    Shut down, yell, give items, whatever you want, anything you can do in a command or other things.

    Quote Originally Posted by scu11 jr View Post
    hate that u do 500 + really pisses me off but i got alot of live for u nikki i need u i want uI WFUCKING MUST HAVE U
    You can easily use this with 317, I just didn't want to worry about putting it in the 317 section also.
    Please don't add/pm me asking for RSPS help!

    Links:
    - [Only registered and activated users can see links. ]
    - [Only registered and activated users can see links. ]

    Reply With Quote  
     

  7. #6  
    We be steady Mobbin'

    Stefan's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    2,380
    Thanks given
    38
    Thanks received
    23
    Rep Power
    1988
    useful and nice.
    Sweet
    People still use this site?
    Reply With Quote  
     

  8. #7  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Thanks

    This is nice and simple for anyone, can be used when you are offline, and can be used silently.
    Please don't add/pm me asking for RSPS help!

    Links:
    - [Only registered and activated users can see links. ]
    - [Only registered and activated users can see links. ]

    Reply With Quote  
     

  9. #8  
    Registered Member
    Batman's Avatar
    Join Date
    Apr 2010
    Posts
    269
    Thanks given
    12
    Thanks received
    7
    Rep Power
    127
    Cul
    Reply With Quote  
     

  10. #9  
    Valar Morghulis

    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    29
    Posts
    2,813
    Thanks given
    1,804
    Thanks received
    274
    Rep Power
    2128
    I like do this with PHP sockets and admin panel but very nice Nikki.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  11. #10  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Quote Originally Posted by Laxika View Post
    I like do this with PHP sockets and admin panel but very nice Nikki.
    You can, but it's not as secure as this
    Please don't add/pm me asking for RSPS help!

    Links:
    - [Only registered and activated users can see links. ]
    - [Only registered and activated users can see links. ]

    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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