igor@IgorReinCloud ~/dbhandler $ ssh [email protected]:/dbhandler/dbhandler < git pull
bash: git: No such file or directory
igor@IgorReinCloud ~/dbhandler $ git pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (4/4), done.
From https://github.com/oneeyeman1/dbhandler
667ca95..4a93607 master -> origin/master
Updating 667ca95..4a93607
Fast-forward
libdbwindow/databasecanvas.cpp | 1 +
1 file changed, 1 insertion(+)
Does this mean I should create some kind of script with just git pull
inside to be properly executed? Or I am doing something wrong?
[EDIT]
What I'm trying to achieve is following:
I'm on my Linux box trying to connect to one of my OSX laptops (192.168.1.3). This Mac laptop is running OSX 10.8. Up until recently everything was working fine, but then GitHub switched from using SSL 1.0 to SSL 1.2 or something like this. And of course trying to perform remote operations from OSX is now failing.
However if I try to perform this on Linux everything works as expected since Linux version of Git/OpenSSL is newer and therefore running git pull/fetch/push/etc will succeed.
And so my ultimate goal here is to do git pull to execute the git from the local machine (Linux) to update the repository that is located on remote machine (OSX).
I hope it is now clear what I'd like to achieve.
[/EDIT]
git pull
sent throughssh
? Looks like you and bash are trying to read a file calledgit pull
as input forssh