Jump to content

Easy way to grant restricted SSH access to remote user -- docker?


tmchow

Recommended Posts

I need to give someone access to my system for a short period of time (a few days), and only want to give access to a specific set of shares and nothing else.

 

What's the simplest way to do this?  I was thinking that an easy way would be a docker container with some standard debian jessie install restricted only to a given share.  After the access is not needed, just kill the container.

 

Thoughts?

Link to comment

There is an Ubuntu docker container with a template for Unraid.

 

Proftpd plugib also has the ability to allow access to certain shares.

 

Sent from my LG-H815 using Tapatalk

 

Only ubuntu container I can find is from Snoopy's but it seems to only have remote desktop and not sure how to enable SSH straight into it.

 

I've confines Openssh-server is installed and configured the port to be 2222. Configured the docker to use tcp 2222 along with port forwarding setup on my router.

 

I can't even ssh using local host. Any ideas?

 

ssh ubuntu@localhost -p 2222

 

https://lime-technology.com/forum/index.php?topic=43610.0

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...