Why is ssh agent forwarding not working?
It turns out my key was not in the agent, and this fixed it: OS X: ssh-add -K Linux/Unix: ssh-add -k You can list loaded keys using: ssh-add -l ssh-add -L # for more detail
It turns out my key was not in the agent, and this fixed it: OS X: ssh-add -K Linux/Unix: ssh-add -k You can list loaded keys using: ssh-add -l ssh-add -L # for more detail
No, the hosts file is simply a way to statically resolve names when no DNS server is present.
rsync -v -e ssh [email protected]:/Library/WebServer/sites/staging/app1/ ./export You didn’t give it any options to put it into recursive mode like -r or -a. remote app1 directory is empty while local export directory has 4 sub directories and then a bunch of files in each of those Do you have the options backwards here? The command should … Read more
You are right. It’s annoying behavior. $ zcat foo.txt.gz zcat: can’t stat: foo.txt.gz (foo.txt.gz.Z): No such file or directory Try this: $ zcat < foo.txt.gz asdfadsf
sudo nginx -s stop && sudo nginx
which will search your path for the arguments you supply, it’s found on just about any BSD or SysV UNIX moriarty:~ dave$ which bash true false /bin/bash /usr/bin/true /usr/bin/false
You need to flush the routes . Use route -n flush several times . Afterwards add your routes with route add.
As Chealion mentioned, there are several ways that your mysql could have been installed. Each of which will place your data dir and/or logs in different locations. The following command will give you (and us) a good indication of where to look. ps auxww|grep [m]ysqld # Putting brackets around the first char is a `grep`+`ps` … Read more
This should work on Linux and SysV5 ps -ef –sort=start_time
Use the dscl command. This example would create the user “luser”, like so: dscl . -create /Users/luser dscl . -create /Users/luser UserShell /bin/bash dscl . -create /Users/luser RealName “Lucius Q. User” dscl . -create /Users/luser UniqueID “1010” dscl . -create /Users/luser PrimaryGroupID 80 dscl . -create /Users/luser NFSHomeDirectory /Users/luser You can then use passwd to … Read more