command
module
Version:
v0.0.0-...-272ee6c
Opens a new window with list of versions in this module.
Published: Jan 11, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-sftp
Study of SFTP on Go
Reference
Install
@local machine
mkdir sftp-server
mkdir sftp-server/upload
docker-compose up -d --build
sftp -oPort="2222" foo@localhost
If you get an following error when you run the sftp command, remove [localhost]:2222 from known_hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
ssh-keygen -R [localhost]:2222
@ sftp container
sftp> cd upload
sftp> put test
sftp> exit
@local machine
ls sftp-server/upload
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.