wip zssh
This commit is contained in:
parent
1a05895f73
commit
88ebb6e43a
@ -1,6 +1,7 @@
|
|||||||
function zssh_boot()
|
function zssh_boot()
|
||||||
{
|
{
|
||||||
zshlibs_log zssh "zssh is booting up ----------------------------"
|
zshlibs_log zssh "zssh is booting up
|
||||||
|
----------------------------"
|
||||||
typeset -g zssh_ssh_dotdir="${HOME}/.ssh"
|
typeset -g zssh_ssh_dotdir="${HOME}/.ssh"
|
||||||
typeset -g zssh_private_keys="${zssh_ssh_dotdir}/keystore"
|
typeset -g zssh_private_keys="${zssh_ssh_dotdir}/keystore"
|
||||||
typeset -g zssh_private_configs="${zssh_ssh_dotdir}/config.d"
|
typeset -g zssh_private_configs="${zssh_ssh_dotdir}/config.d"
|
||||||
@ -140,7 +141,7 @@ function zssh_mail_pubkey2()
|
|||||||
then
|
then
|
||||||
zshlibs_ensure -d $(zssh_node_info ${ssh_node} -K)
|
zshlibs_ensure -d $(zssh_node_info ${ssh_node} -K)
|
||||||
zshlibs_log zssh_client "sending '$(zssh_node_info ${ssh_node} -k) to '$(zssh_node_info ${ssh_node} -K ${zssh_host})'"
|
zshlibs_log zssh_client "sending '$(zssh_node_info ${ssh_node} -k) to '$(zssh_node_info ${ssh_node} -K ${zssh_host})'"
|
||||||
cp $(zssh_node_info ${ssh_node} -k) (zssh_node_info ${ssh_node} -K ${zssh_host})
|
cp "$(zssh_node_info ${ssh_node} -k)" "(zssh_node_info ${ssh_node} -K ${zssh_host})"
|
||||||
else
|
else
|
||||||
zshlibs_log zssh_client "'$(zssh_node_info ${ssh_node} -K ${zssh_host})' already mailed"
|
zshlibs_log zssh_client "'$(zssh_node_info ${ssh_node} -K ${zssh_host})' already mailed"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user