Sign in to follow this  
merc808

making a MUD with ssh

Recommended Posts

merc808    122
I was hoping that someone could point me in the right direction on how to make a MUD with ssh. I was hoping to be able to use a ssh library to handle all the communications. My only experience with ssh is logging in to a bash shell. I s there a way for the input/output between the server/client. I tried looking but have came up empty so far. I was hoping for a library that I can pass output to and get input from. Are there any MUDs around that use ssh? Any ideas?

Share this post


Link to post
Share on other sites
gcs584    280
Hi merc808,

Couldn't you add a line to the ~/.bash_profile file of an arbitrary user to execute the program on login? Using this methodology, a user would login as usual using an ssh client and would automatically run the mud application upon successful login.

There is a slight security risk using this method. I would recommend that you setup a new user with restricted privileges and configure using 'chroot'. Not sure how many clients sshd can handle either.

I reckon this would be your best bet...

Regards,

GCS584

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this