Skip to content

Commit

Permalink
Merge pull request wolfSSL#586 from ejohnstown/wolfssh-client
Browse files Browse the repository at this point in the history
wolfSSH Client
  • Loading branch information
JacobBarthelmeh authored Sep 25, 2023
2 parents a650415 + 53a4dea commit 7578a7d
Show file tree
Hide file tree
Showing 9 changed files with 1,784 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ examples/sftpclient/wolfsftp
examples/scpclient/wolfscp

# applications
apps/wolfssh/wolfssh
apps/wolfsshd/wolfsshd
apps/wolfsshd/test/test_configuration

Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EXTRA_DIST+= LICENSING README.md ChangeLog.md

include src/include.am
include wolfssh/include.am
include apps/wolfsshd/include.am
include apps/include.am
include examples/include.am
include tests/include.am
include keys/include.am
Expand Down
6 changes: 6 additions & 0 deletions apps/include.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root

include apps/wolfssh/include.am
include apps/wolfsshd/include.am
32 changes: 32 additions & 0 deletions apps/wolfssh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
WOLFSSH CLIENT
==============

The wolfSSH client will connect to a server and try to open a terminal. It'll
default the username to your current username, and it will try to use your
ecdsa private key to authenticate. The key file path is hard coded to
`$HOME/.ssh/id_ecdsa`. It is currently far enough along I can use it. The
private keys are the ones produced by the OpenSSL command line tool, not the
ssh-keygen tool.

Phase 2 is going to bring reading the config files `/etc/ssh/ssh_config` and
`$HOME/.ssh/config`. It will handle OpenSSH style modern keys. It will also
have support for SSH-AGENT and forwarding.

Command Line Options
--------------------

-E logfile : Specify a different log file.
-G : Print out the configuration as used.
-l login_name : Overrides the login name specified in the destination.
-N : Do not execute remote command.
-p port : Overrides the destination port number.
-V : Print out the version.

The destination option is the only required option. It can be in the two
following formats:

[user@]hostname
ssh://[user@]hostname[:port]

The default value for _user_ is the current user's login name. The default
value for _port_ is 22.
Loading

0 comments on commit 7578a7d

Please sign in to comment.