forked from wolfSSL/wolfssh
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. In the windowMonitor(), move the check for quit outside the conditional build so it works for both macOS and Linux. 2. Removed a dead store in readPeer(). If the socket wants read, that's fine. Don't need to override it. 3. When allocating memory for the hostname, don't forget the nul. 4. When parsing the command line and storing a copy of it to send to the peer, stash it in the config. 5. When allocating memory for the username, add 1 for the nul outside the strlen(). 6. When canceling a thread, be sure to join it afterwards. 7. Added a read me document for wolfSSH client. Just a quick note. To be replaced later with something more formal.
- Loading branch information
1 parent
79d29f3
commit a4af966
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters