[Solved] ssh works but scp does not

2011-08-29 1 min read bash Fedora Linux
Image via Wikipedia For quite sometime now, I was having this issue, that for the home system, I was able to connect to is using ssh but it never worked. Fnally after quite some debugging finally I found that the issue was with thebashrc. So, everytime I had to do a scp I would have to move/rename bashrc and do the reverse action after the scp was done. Finally today I fixed it and the solution was very simple. Continue reading

Terminating a SSH session after starting background process.

2011-05-14 3 min read Learning Linux
This is too good. If you are planning to start a background process in the bash script in the background and continue in the script, you cannot do it until……. You would need to close the stdout/stdin and stderr before you can terminate any ssh session automatically. Here’s some more light on this topic. http://lists.debian.org/debian-user/2005/09/msg00254.html On Thu, Sep 01, 2005 at 05:33:28PM -0400, Roberto C. Sanchez wrote: > I occasionally log into a machine remotely and start a process in the > background: > > command & > > However, when I log out of the machine, the ssh process on my local > machine blocks. Continue reading

client lanman auth is disabled error for samba

2011-04-28 1 min read Learning Linux
The error: Server requested LANMAN password (share-level security) but ‘client lanman auth’ is disabled is easily fixable. You just need to tell samba that client lanman auth is enabled. And here is how to do this: If you are getting this error then add the following in the globals section of the samba configuration: client lanman auth = Yes Ensure that you change this in the file /etc/samba/smb.conf Related articles PS: Managing Windows Services (gunnalag. Continue reading

Easy ssh configuration with .ssh/config file

2011-04-11 1 min read bash Learning Linux
If you ssh to many hosts then you are aware of the pain that it takes to ssh with different username and hostname. There is an alias that you can creat with native ssh though. Here I will show you the same with an example. 1 2 3 4 5 <td> <div class="text codecolorer"> cat <<EOF >>~/.ssh/config<br /> Host <alias><br /> Username <user name><br /> Port <port number><br /> Hostname <hostname> </div> </td> </tr> You can optionally omit the parameters that you do not require explicitly. Continue reading

OpenLDAP and SSL – some links

2010-11-15 1 min read Learning Linux
Here are some of the links that may be of great help to you if you are having issues with setting up SSL and OpenLDAP. I was having some issues with this setup and these links helped me fix the same. http://www.faqs.org/docs/Linux-HOWTO/SSL-RedHat-HOWTO.html http://www.tc.umn.edu/~brams006/selfsign_redhat.html http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.1/html/Using_Red_Hat_Console/Starting_the_Server_with_SSL_Enabled-Enabling_SSL_in_the_DS_Admin_Server_and_Console.html http://directory.fedoraproject.org/wiki/Howto:SSL http://www.linuxtopia.org/online_books//network_administration_guides/ldap_administration/appendix-common-errors_Common_causes_of_LDAP_errors.html Related articles Stephan Hermann: Ubuntu 10.04 LTS and OpenLDAP (shermann.name) Exploring LDAP SASL Authentication With Ruby (intridea.com) Stephan Hermann: [SOLVED] OpenLDAP, passwd and CRYPT passwords (shermann. Continue reading

\[Solution\] Solaris issue with wget not resolving Domain name (DNS name lookup failure)

2010-08-09 2 min read Solaris
Today I was working with <a class="zem_slink" title="Solaris (operating system)" rel="homepage" href="http://oracle.com/solaris">Solaris and after I had set up the <a class="zem_slink" title="NIS+" rel="wikipedia" href="http://en.wikipedia.org/wiki/NIS%2B">NIS+, <a class="zem_slink" title="Name server" rel="wikipedia" href="http://en.wikipedia.org/wiki/Name_server">DNS server, IP Address and completing the basic setting. I was using the pkg-get util from the freesunware.com The utility was using wget and it was failing constantly. From the looks of it, it was very clear that the wget utility was unable to find the <a class="zem_slink" title="IP address" rel="wikipedia" href="http://en. Continue reading

PuTTY alternatives - AlternativeTo.net

2010-07-27 1 min read Uncategorized
I like PuTTY quite a bit but do not like the fact that it does not have any tab feature. So, if I am working on multiple machines then un-necessarily I will have too many windows open cluttering my desktop. So, here is the result of my quest to find the alternative: <a href="http://alternativeto.net/desktop/putty/">http://alternativeto.net/desktop/putty/<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/06/05/putty-ssh-without-password/">PuTTY ssh without password (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://www. Continue reading
Older posts Newer posts