Sometimes you want a folder from Mac OS X to be shared and need to be accessed by Ubuntu then you need to follow the below link, which is really nice and beautiful. I was in search for not using "scp" / "ssh" command as I have to log in as a user and need to give pwd too.
Please follow Mac OS X File Sharing
Sunday, July 19, 2009
Wednesday, July 8, 2009
remove host key from .ssh/known_hosts
$ ssh user@192.168.1.78
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
fd:1f:3d:fb:2e:ad:f4:f4:35:2e:03:f4:xx:xx:xx:xx.
Please contact your system administrator.
Add correct host key in /xxxx/xxxx/.ssh/known_hosts to get rid of this message.
Offending key in /xxxx/xxxx/.ssh/known_hosts:4
RSA host key for 192.168.1.78 has changed and you have requested strict checking.
Host key verification failed.
lost connection
When you get this kind of error in your system, it means that either server's RSA host key has been changed or your local machine host key is changed. Don't try to delete the .ssh folder instead, use the below command to fix this issue only for a particular host.
$ ssh-keygen -R 192.168.1.78
This will help in changing only one host's key to be removed. And now when you do it again it will ask for you to add the host key in your local machine.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
fd:1f:3d:fb:2e:ad:f4:f4:35:2e:03:f4:xx:xx:xx:xx.
Please contact your system administrator.
Add correct host key in /xxxx/xxxx/.ssh/known_hosts to get rid of this message.
Offending key in /xxxx/xxxx/.ssh/known_hosts:4
RSA host key for 192.168.1.78 has changed and you have requested strict checking.
Host key verification failed.
lost connection
When you get this kind of error in your system, it means that either server's RSA host key has been changed or your local machine host key is changed. Don't try to delete the .ssh folder instead, use the below command to fix this issue only for a particular host.
$ ssh-keygen -R 192.168.1.78
This will help in changing only one host's key to be removed. And now when you do it again it will ask for you to add the host key in your local machine.
Labels:
host,
host key,
known_hosts,
RSA host key,
ssh,
ssh-keygen
Sunday, July 5, 2009
Uninstall SCPlugin for MacOS
I installed the SCPlugin and Subversion Packages & thought would play wonders, but unfortunately it couldn't be useful much for me. I left it unattended but suddenly I got some strange error like this..
This client is too old to work with working copy '/Users//Public'; please get a newer Subversion client
The tool /usr/local/bin/change-svn-wc-format.py
may be used to convert this working copy to match this SCPlugin (see 'About'), but you will loose any features of the newer Subversion you may be using
I tried googling but unfortunately I couldn't find any solution and after some couple of weeks I found some how to do uninstall it.
Please remove /Library/Contextual Menu Items/SCFinderPlugin.plugin
Remove /Library/Receipts/SCPlugin.pkg -> version might be also appended sometimes
Remove /Library/Receipts/Subversion.pkg.
Feel free to ping for any help.
This client is too old to work with working copy '/Users/
The tool /usr/local/bin/change-svn-wc-format.py
may be used to convert this working copy to match this SCPlugin (see 'About'), but you will loose any features of the newer Subversion you may be using
I tried googling but unfortunately I couldn't find any solution and after some couple of weeks I found some how to do uninstall it.
Please remove /Library/Contextual Menu Items/SCFinderPlugin.plugin
Remove /Library/Receipts/SCPlugin.pkg -> version might be also appended sometimes
Remove /Library/Receipts/Subversion.pkg.
Feel free to ping for any help.
Monday, June 22, 2009
diff ignoring .svn directories
Easy way for comparing two directories and ignoring svn directories. Use the below command to compare two directories recursively and ignoring .svn directories.
diff -r --exclude=".svn" sub/dir/one sub/dir/two
let me know if you run into issues.
diff -r --exclude=".svn" sub/dir/one sub/dir/two
let me know if you run into issues.
Wednesday, April 15, 2009
Removing all the .svn directories command
Its very easy to delete all the .svn directories recursively by issuing the below command.
rm -rf `find . -type d -name .svn`
This will delete all the folders with name .svn inside the current working directory and recursively inside all other sub-directories too.
rm -rf `find . -type d -name .svn`
This will delete all the folders with name .svn inside the current working directory and recursively inside all other sub-directories too.
Subscribe to:
Posts (Atom)