![]() scp My_file.txt is, to copy the file to your desktop you might want to transfer it to /home/erez/Desktop/: scp My_file.txt using the shortcut: scp My_file.txt using a relative path on the remote side, which is interpreted relative to your home directory: scp My_file.txt already mentioned, you also have to swap the arguments, it has to be scp FROM TO ![]() If path to your home is something like /home/erez try the following: scp My_file.txt can substitute the path to your home directory with the shortcut ~/, so the following will have the same effect: scp My_file.txt can even leave out the path altogether on the remote side this means your home directory. What you want to do is to transfer them to your home directory (since you have no permissions to write to /). OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f ĭebug1: Reading configuration data /etc/ssh/ssh_configĭebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no filesĭebug1: /etc/ssh/ssh_config line 21: Applying options for *ĭebug1: /etc/ssh/ssh_config line 54: Applying options for 192.168.0.250ĭebug2: resolve_canonicalize: hostname 192.168.0.250 is addressĭebug1: Connecting to 192.168.0.250 port 22.ĭebug1: identity file /home/sacarino/.ssh/id_rsa type 0ĭebug1: identity file /home/sacarino/.ssh/id_rsa-cert type -1ĭebug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1ĭebug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Debian-5+deb8u3ĭebug1: match: OpenSSH_6.7p1 Debian-5+deb8u3 pat OpenSSH* compat 0x04000000ĭebug1: Authenticating to 192.168.0.250:22 as 'git'ĭebug3: hostkeys_foreach: reading file "/home/sacarino/.ssh/known_hosts"ĭebug3: record_hostkey: found key type ECDSA in file /home/sacarino/.ssh/known_hosts:1ĭebug3: load_hostkeys: loaded 1 keys from 192.168.0.250ĭebug3: order_hostkeyalgs: prefer hostkeyalgs: send packet: type 20ĭebug2: KEX algorithms: host key algorithms: ciphers ctos: ciphers stoc: MACs ctos: MACs stoc: compression ctos: compression stoc: languages ctos:ĭebug2: KEX algorithms: host key algorithms: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519ĭebug2: ciphers ctos: ciphers stoc: MACs ctos: MACs stoc: compression ctos: compression stoc: languages ctos:ĭebug1: kex: algorithm: kex: host key algorithm: ecdsa-sha2-nistp256ĭebug1: kex: server->client cipher: MAC: compression: noneĭebug1: kex: client->server cipher: MAC: compression: noneĭebug1: expecting SSH2_MSG_KEX_ECDH_REPLYĭebug1: Server host key: ecdsa-sha2-nistp256 SHA256:C20yV5k96n5tDy7uTDSKBSSNrlpWGK2WER6rdRsgEOMĭebug1: Host '192.168.0.250' is known and matches the ECDSA host key.ĭebug1: Found key in /home/sacarino/.ssh/known_hosts:1ĭebug1: Will attempt key: /home/sacarino/.ssh/id_rsa RSA SHA256:3+XxTDZWeAVzW2L0ANg/RGVRb2oGVQSsbkU7GZ9zEvQĭebug1: Authentications that can continue: publickey,passwordĭebug3: start over, passed a different list publickey,passwordĭebug1: Next authentication method: publickeyĭebug1: Offering public key: /home/sacarino/.ssh/id_rsa RSA SHA256:3+XxTDZWeAVzW2L0ANg/RGVRb2oGVQSsbkU7GZ9zEvQĭebug2: we sent a publickey packet, wait for replyĭebug2: we did not send a packet, disable methodĭebug1: No more authentication methods to Permission denied (publickey,password).įatal: Could not read from remote repository.Your commands are trying to put the new Document to the root ( /) of your machine. GIT_SSH_COMMAND='ssh -vvvT' git clone Cloning into 'test'. ![]() I have created an SSH key on the client machine and added the public key in the SSH Keys settings but for some reason it keeps telling me that I don’t have permissions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |