Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 366 Bytes

File metadata and controls

15 lines (11 loc) · 366 Bytes

sftptest

This is a program for testing SFTP connection. I created this program to monitor SFTP connectivity with Monit.

Getting Started

Make sure port number is specified with hostname.

git clone git@github.com:hongster/sftptest.git
cd sftptest
go mod tidy
go build
./sftptest ftp.example.com:22 userFoo passwordBar