Search Results for: ftp

How to mount a remote directory in Linux using sshfs

Q. I have access rights to one of the remote server through SSH protocol and there is no File share services such as Samba, NFS or FTP etc which are enabled on the server. Now I want to mount data from that remote server, is it possible to mount remote folders? A. The answer to this is yes, We can share data/mount folder on a local machine by using just SSH protocol. This can be done by using FUSE(Filesystem in USErspace) which support SSH and FTP file systems. This post is in response to conversation which I had with one our...

Read More

How To Install And Configure Sendmail In Linux?

Send mail is one of the old and widely used mail delivery agent/Mail system. First Please check this link to know more about Mail Server     Configuration Of Sendmail : 1. All the sendmail configuration files are located at /etc/mail 2. Main configuration files are access, sendmail.mc and send mail.cf. 3. In this example my domain is example.com and my mail server host-name is mx.example.com   Step1 : Install sendmail packages #yum install sendmail* #yum install m4   Step2 : Configure DNS entries in forward look-up zone file #vi /path/to/your/forward/lookup/zone/file mx1.example.com. IN MX 10 example.com. Save the file and exit.   Step3 : Check for configuration errors and reload the DNS server #named-checkzone example.com /path/to/your/forward/lookup/zone/file #service named reload   Step4 : All the sendmail configuration files are stored in /etc/mail and now configure relay ip address list   Why we require this relay list? Ans : This is because to secure your sendmail not get spam. So what ever Network/host-names you specified in this access file those networks/host-names only get access to our sendmail. #vi /etc/mail/access   Entries as follows. 192.168.0.0/24 RELAY Save and exit the file   Step5 : Now update the file to sendmail database with makemap command   Note : After executing below command you will find access.db, this is the indication that your makemap command worked perfect and database have been updated successfully.  ...

Read More

How To Enable Verbose Mode For SSH Logins?

How we can login to remote server through ssh? #ssh user@servername or #ssh -l user servername or #ssh ip-add So when you will execute the above command you will get the password prompt. But if you want to see what will happen when you execute ssh command you have to enable verbose or debugging mode. To do this we have to apply -v option at the time of login as shown in below example. #ssh -v surendra@ftp2.linuxnix.com root@krishna:/home/surendra# ssh -v surendra_a@ftp2.linuxnix.comOpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010debug1: Reading configuration data /etc/ssh/ssh_configdebug1: Applying options for *debug1: Connecting to ftp2.linuxnix.com [92.32.56.78] port 22.debug1: Connection established.debug1: permanently_set_uid: 0/0debug1: identity file /root/.ssh/id_rsa type -1debug1: identity file /root/.ssh/id_rsa-cert type -1debug1: identity file /root/.ssh/id_dsa type -1debug1: identity file /root/.ssh/id_dsa-cert type -1debug1: Remote protocol version 1.99, remote software version OpenSSH_4.0debug1: match: OpenSSH_4.0 pat OpenSSH_4*debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: server->client aes128-ctr hmac-md5 nonedebug1: kex: client->server aes128-ctr hmac-md5 nonedebug1:...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.