Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scp upload error #167

Open
maikebr opened this issue Oct 17, 2023 · 1 comment
Open

Scp upload error #167

maikebr opened this issue Oct 17, 2023 · 1 comment

Comments

@maikebr
Copy link

maikebr commented Oct 17, 2023

Local OS:Apple M2 MacOS 14 Sonoma
Destination host OS: CentOS Linux 7
xxh version:0.8.12
xxh-plugins installed:xxh-plugin-zsh-powerlevel10k and xxh-plugin-zsh-ohmyzsh

Steps to Reproduce

  1. I run xxh **@**** +s zsh +if +v
  2. The output log:
    Load xxh config from /Users//.config/xxh/config.xxhc
    Load xxh config for host .

    Final arguments list: ['+s', 'zsh', '
    @', '+s', 'zsh', '+if', '+v']
    ssh arguments: ['-o', 'StrictHostKeyChecking=accept-new', '-o', 'User=']
    root@
    *******'s password:
    Pexpect result:
    {'user_host_accept': None, 'user_host_password': '********', 'user_key_password': None, 'output': 'xxh_home_realpath=/root/.xxh\r\nxxh_version=0.8.12\r\nxxh_shell_exists=1\r\nxxh_home_writable=1\r\nxxh_parent_home_writable=1\r\nrsync=\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.12
    xxh_shell_exists=1
    xxh_home_writable=1
    xxh_parent_home_writable=1
    rsync=
    scp=/usr/bin/scp
    shell=
    kernel=Linux
    arch=x86_64

Install xxh-shell-zsh to 207.180.198.72:/root/.xxh
Remove 207.180.198.72:/root/.xxh/.xxh
First time upload using scp (this will be omitted on the next connections).
Note: you can install rsync on local and remote host to increase speed.
scp: open local "/Users//.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/r/rxvt": No such file or directory
scp: upload "/Users/
/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/r/rxvt" to "/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/share/terminfo/r/rxvt" failed

  1. What is the problem: Failed scp upload to the remote host
@anki-code
Copy link
Member

Hi! Try to add +vv to get more verbose info. The common issue is around access rights on target host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants