I'm trying to copy the remote repository on my local system but I have this type of error:  git clone git@192.168.22.29:user1/test.git  Cloning into 'test'...  git@192.168.22.29's password:  sh: 1: git-upload-pack: not found  fatal: Could not read from remote repository.   Please make sure you have the correct access rights  and the repository exists.  I have tested the SSH with: ssh -T git@192.168.22.29  and it gives me this: $ ssh -T git@192.168.22.29 git@192.168.22.29's password:  it accepts the password and it stays as it is? What could i look for?
77821
I have been using git to keep two copies of my project in sync, one is my local box, the other the test server. This is an issue which occurs when I log onto our remote development server using ssh;  git clone me@me.mydevbox.com:/home/chris/myproject Initialized empty Git repository in /tmp/myproject/.git/ Password: bash: git-upload-pack: command not found fatal: The remote end hung up unexpectedly fetch-pack from 'me@me.mydevbox.com:/home/chris/myproject' failed.   (the file-names have been changed to protect the guilty... !)   Both boxes run Solaris 10 AMD. I have done some digging,  if I add --upload-pack=$(which git-upload-pack) the command works, (and proves that $PATH contains the path to 'git-upload-pack' as per the RTFM solution)  but this is really annoying, plus 'git push' doesn't work, because I don't think there is a --unpack= option.    Incidentally, all the git commands work fine from my local box, it is the same version of the software (1.5.4.2), installed on the same NFS mount at /usr/local/bin.    Can anybody help?
20475
I am trying to install git-lfs package and it looks like expected paths are not Ubuntu friendly. From  I choose Linux AMD64 file name git-lfs-freebsd-amd64-1.2.1.tar.gz, because .deb files are not available for Ubuntu, just Debian 7,8.  I am getting error: install.sh: 19: install.sh: PATH+=:/usr/local/bin: not found when executing install.sh.  Does anyone have a working solution on how to install git-lfs?
65878
I've used git clone to make a local copy of a GitHub repository containing a  I'd like to use. The local copy contains all of the source for the program; but as a newbie to Ubuntu, I've no idea of what tools or steps are involved in compiling and installing the driver.   I'd really appreciate if anyone could provide a step-by-step guide?
30167
when calling SCP in PuTTY on my Win7 box, it doesn't let me use C:/, but I also have no idea where on my local machine it will look for files by default. None of program directory or user directory worked. For example, I saved file.txt next to PuTTY.exe, and also in C:\Users\Me but calling SCP file.txt file.txt in PuTTY failed both times with      cp: cannot stat 'file.txt'   So, how do I transfer a file to my server using PuTTY?  EDIT: Also, calling SCP file.txt myserver:file.txt gives a similar error: file.txt: No such file or directory
61996
I'm trying to edit a file from a remote computer connected via ssh. How can I open the remote file on my local computer to edit?
62461
I'm trying to run a simple script- clone a git repository into a certain directory, then cd to this directory in order to execute an installation script.  This script is in a Makefile.  But the cd seems not to be working. It doesn't find my installation script.  I added a pwd after the cd in the script, and it shows me the directory from where I'm executing the script, not the directory where I cd into.  What's the problem?  git clone http://somerepo ~/some_dir cd ~/some_dir/ pwd python myscript.py install   =>   pwd: /hereIsPathToDirectoryFromWhichIRunTheScript     python: can't open file 'setup.py': [Errno 2] No such file or directory   It also doesn't work with ./setup.py.  If I enter the absolute path ~/some_dir/setup.py the script fails later because it's trying to access resources in the same folder.
63786
I'm using a GNU/Linux system remotely, via SSH.  I mistakenly added something into my $HOME/.bash_profile scriot which causes an error. (To be specific: I added an exec foo command instead of . foo, applied to another bash script without execution permissions, which results in an error.)   Now I can't seem to SSH, SCP or SFTP into my machine: bash, my login shell, tries to run the exec foo command, gets the error and throws me out! I don't have any other account I can access remotely.  Is there something I can do to restore access to the system?  Additional details:   Most ports other than for SSH are unavailable since the machine is behind a firewall. It's a Devuan 3 ASCII (~= Debian 10 Beowulf) system.
42885
I am trying to copy a folder to remote Ubuntu server using command line ssh connection, i understand it's doable to transfer a file using scp but i have many files in a folder iam trying to copy to that remote server, how is that done? anyone?  Thank you.
10516
I have read many threads on this topic, but none of the solutions have worked for me.   I am trying to do the following:  RELEASE_COMMAND_OUTPUT=$(exec ~/temp/execs/github-release release --user patick --repo $REPO_NAME --tag $RELEASE_VERSION --name $RELEASE_VERSION --description "$DESC")   but the output of ./github-release is not stored in the RELEASE_COMMAND_OUTPUT variable.   I'm aware of the concept of , but none of the solutions I've tried have worked. What am I doing wrong?
83069
For example, I have git installed on my system. But I don't remember where I installed it, so which command is fit to find this out?
60598
Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the passphrase was no longer required until the next start of my system. After upgrading to 13.10 After upgrading to Ubuntu 13.10 that window doesn't appear anymore but a message in terminal appears: Enter passphrase for key '/home/username/.ssh/id_rsa':   ...every time when cloning a git repository this appears. How can I fix this? I want to enter my passphrase only once.
119856
I set up my ssh stuff with the help of , and it used to work well (I could run hg push without being asked for a passphrase). What could have happened between then and now, considering that I'm still using the same home directory.  $ cat .hg/hgrc  [paths] default = ssh://hg@bitbucket.org/tshepang/bloog  $ hg push Enter passphrase for key '/home/wena/.ssh/id_rsa':  pushing to ssh://hg@bitbucket.org/tshepang/bloog searching for changes ...
98973
I have a remote host, previously I can ssh into it with root and password  ssh root@remote_host   or I ssh into it first using a regular user account  ssh esolve@remote_host   and then su root and input password  but today, in both ways, my password is always incorrect, like  [esolve@local esolve]$  ssh root@remote_host root@remote_host's password:  Permission denied, please try again.   or   [esolve@remote_host ~]$ su root Password:  su: incorrect password   related information:   I can use this password to log in with root if I operated locally on that remote machine today. I ssh into is via VPN   Why did this happen? How can I solve this problem?
39956
At work, I access both a remote system via SSH and some web interfaces that login through LDAP. I use 1password to manage my passwords, but I can't seem to find a simple way to input the password from the password manager to SSH. I saw sshpass but it can show the password in ps, which is really bad security, and also doesn't work in my case. Is there any way to input a password from an external program or script through SSH directly, or are there facilities within SSH that I can leverage and keep the passwords in sync? Such as keeping a key file that I unlock for SSH that has the same password, which is updated whenever I update the password. Note I can't directly use keys to log into the system because it's not built to support it.  Edit: One commenter pointed out that sshpass will show the password in ps, which is a no-go. I also can't directly alias ssh to something like sshpass ... ssh because I do still log into systems that use keys.   Edit 2: I got confirmation that a password manager is okay, and I attempted to use sshpass with a file descriptor to log into the server but it doesn't seem to work -- instead of giving me a prompt to enter my RSA token, I just get nothing, which makes me think it doesn't run through the same code and won't accept sshpass.
13582
I have read-only access to a database on a remote server. So, I can execute:  COPY products TO '/tmp/products.csv' DELIMITER ',';   But on that server I don't have permissions to create/save a file, so I need to do this on my local machine.  When I connect to the remote database, how can I execute a command to save the file on my local machine instead of the remote server?  Or, how can I execute a Linux command to connect to the remote database, execute a query, and save the output as a file to my local machine?
112287
I am unable to connect to the package repository server using MiKTeX due to a proxy error. How would I go about installing a package from a local repository? I am trying to install the package beamer. Where do I actually find the file to download?
101845
I have an unusual idea to use git as a backup system. So let's say I have a directory ./backup/myfiles and I want to back that up using git. To keep things clean I don't want to have a .git directory in the myfiles folder, so I thought I could create ./backup/git_repos/myfiles. From looking at the git docs, I've tried doing this:  $ cd backup/myfiles $ mkdir ../git_repos/myfiles $ git --git-dir=../git_repos/myfiles init Initialized empty Git repository in backup/git_repos/myfiles/ $ git --git-dir="../git_repos/myfiles/" add foo fatal: pathspec 'foo' did not match any files   You can see the error message I get there. What am I doing wrong?