Skip to content

yangzhaofeng/docker-hidden-sftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-hidden-sftp

Don't be evil! This project is only developed for transferring files anonymously!

docker pull yangzhaofengsteven/hidden-sftp

docker run -itd \
	--name=hidden-sftp \
	-e FTP_USER=<user name> \
	-e HIDDEN_SERVICE_PORT=<default is 22> \
	-v /srv/docker/hidden-sftp/home:/home \
	-v /srv/docker/hidden-sftp/service:/var/lib/tor/hidden_service \
	yangzhaofengsteven/hidden-sftp

You may need to manually modify the permission of /srv/docker/hidden-sftp/service to 700

Original password of ftp user is empty. Using pubkey auth method is recommended. Please edit /srv/docker/hidden-sftp/home/$FTP_USER/.ssh/authorized_keys

Local Usage: sftp -o ProxyCommand='nc -X 5 -x 127.0.0.1:9050 %h %p' <user name>@<geneted server name>.onion, where nc is netcat-openbsd, and the socks port should be 9150 on Windows.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published