Discover Packages
github.com/cyd01/sshdog
command
module
Version:
v0.0.0-...-577668c
Opens a new window with list of versions in this module.
Published: Oct 3, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
SSHDog
SSHDog is your go-anywhere lightweight SSH server. Written in Go, it aims
to be a portable SSH server that you can drop on a system and use for remote
access without any additional configuration.
Useful for:
Tech support
Backup SSHD
Authenticated remote bind shells
Supported features:
Windows & Linux
Configure port, host key, authorized keys, user credentials
Pubkey and password authentication
Port forwarding
SCP (but no SFTP support)
Example usage:
% go build .
% ssh-keygen -t rsa -b 2048 -N '' -f config/ssh_host_rsa_key
% echo 2222 > config/port
% cp ~/.ssh/id_rsa.pub config/authorized_keys
% echo 'user pass' > config/users
% rice append --exec sshdog
% ./sshdog
[DEBUG] Adding hostkey file: ssh_host_rsa_key
[DEBUG] Adding authorized_keys.
[DEBUG] Listening on :2222
[DEBUG] Waiting for shutdown.
[DEBUG] select...
From: David Tomaschik dwt@google.com
This is not a Google product, merely code that happens to be owned by Google.
Expand ▾
Collapse ▴
Documentation
¶
TODO: High-level file comment.
TODO: High-level file comment.
TODO: High-level file comment.
TODO: High-level file comment.
Source Files
¶
Directories
¶
TODO: High-level file comment.
TODO: High-level file comment.
Tool for debug logs of SCP, since it's an undocumented protocol.
Tool for debug logs of SCP, since it's an undocumented protocol.
Click to show internal directories.
Click to hide internal directories.