Skip to content

Commit 19c6b07

Browse files
committed
docs: add UseInsecureCipher
1 parent b2bda22 commit 19c6b07

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ func main() {
7070
// Optional fingerprint SHA256 verification
7171
// Get Fingerprint: ssh.FingerprintSHA256(key)
7272
//Fingerprint: "SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE"
73+
74+
// include more ciphers with use_insecure_cipher
75+
// common algorithm for key exchange
76+
UseInsecureCipher: true,
7377
}
7478

7579
// Call Run method with command you want to run on remote server.

example/ssh/ssh.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ func main() {
2828
// Optional fingerprint SHA256 verification
2929
// Get Fingerprint: ssh.FingerprintSHA256(key)
3030
//Fingerprint: "SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE"
31+
32+
// include more ciphers with use_insecure_cipher
33+
// common algorithm for key exchange
34+
UseInsecureCipher: true,
3135
}
3236

3337
// Call Run method with command you want to run on remote server.

0 commit comments

Comments
 (0)