Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ask for key password one time #102

@joyshukla

Description

@joyshukla

Local OS (where xxh is installed): MacOS
Destination host OS: ubuntu/lxc containers
xxh version: xxh/0.8.6
xxh-plugins installed: xxh-plugin-zsh-ohmyzsh

Steps to Reproduce

  1. I run xxh ... +v root@myhost and the output log is below
Load xxh config from /Users/****/.config/xxh/config.xxhc
Load xxh config for host myhost
Final arguments list: ['+I', 'xxh-plugin-zsh-ohmyzsh', '+hhh', '~', '+v', 'root@myhost']
ssh arguments: ['-o', 'StrictHostKeyChecking=accept-new', '-o', 'User=root']
**Enter passphrase for key '/Users/****/.ssh/id_rsa':**
Pexpect result:
{'user_host_accept': None, 'user_host_password': None, 'user_key_password': "'", 'output': '\r\nxxh_home_realpath=/root/.xxh\r\nxxh_version=0.8.6\r\nxxh_shell_exists=1\r\nxxh_home_writable=1\r\nxxh_parent_home_writable=1\r\nrsync=/usr/bin/rsync\r\nscp=/usr/bin/scp\r\nshell=\r\nkernel=Linux\r\narch=x86_64\r\n'}
Host info:

xxh_home_realpath=/root/.xxh
xxh_version=0.8.6
xxh_shell_exists=1
xxh_home_writable=1
xxh_parent_home_writable=1
rsync=/usr/bin/rsync
scp=/usr/bin/scp
shell=
kernel=Linux
arch=x86_64

**Enter passphrase for key '/Users/****/.ssh/id_rsa':**
Load plugin /root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/../../../../../plugins/xxh-plugin-zsh-ohmyzsh/build/pluginrc.zsh
  1. the same issue doesn't occur if using ssh.

For community:
⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions