You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ Options:
93
93
-u, --user <sshuser> SSH User name
94
94
-i, --identity <identity_file> Identity key file
95
95
-p, --pubkey <pub_key_file> Public key file
96
+
-P, --port <port> SSH port for target node SSH server (default:22)
96
97
--skip-agent Skip automatically starting SSH agent and adding
97
98
SSH Identity key into the agent before SSH login
98
99
(=> You need to manage SSH agent by yourself)
@@ -105,7 +106,7 @@ Options:
105
106
```
106
107
107
108
#### Option parameters Cache
108
-
`username`, `identity`, `pubkey` options are cached, therefore you can omit these options afterward. The options are stored in a file named `$HOME/.kube/kubectlssh/options`
109
+
`username`, `identity`, `pubkey`, `port` options are cached, therefore you can omit these options afterward. The options are stored in a file named `$HOME/.kube/kubectlssh/options`
109
110
```
110
111
$ cat $HOME/.kube/kubectlssh/options
111
112
sshuser=azureuser
@@ -135,6 +136,7 @@ Options:
135
136
-u, --user <sshuser> SSH User name
136
137
-i, --identity <identity_file> Identity key file
137
138
-p, --pubkey <pub_key_file> Public key file
139
+
-P, --port <port> SSH port for target node SSH server (default:22)
138
140
--skip-agent Skip automatically starting SSH agent and adding
0 commit comments