PuGo can deploy static files via FTP and SFTP account. It only supports to connect remote directory with username and password.

pugo deploy ftp --local="dest" --user="user" --password="xxx" --host="" --directory="pugo"
pugo deploy sftp --local="dest" --user="user" --password="xxx" --host="" --directory="pugo"

--local set local directory that saving static files after building.

--user and --password set username and password for authorization to connect. In SFTP case, it doesn’t support connecting via .ssh/keys.

--host set remote host address and port.

--directory set remote directory. In SFTP case, use ~/ as alias of user’s home directory.