Mount Sharing Folder in a other Server, Workstation running Linux Samba Shared Directory or Folder
mount -t cifs //xxx.xxx.xxx.xxx/shared_name /mnt/mount_point_name/ -o username=samba_username_for_access
user@hostname:~# mount -t cifs //10.0.0.17/shared /mnt/test/ -o username=mike
Password for mike@//10.0.0.17/shared ****************
This is an article related on the administration of Linux operating system specifically on how to SSH automatically without password using a public key. Sometimes, network administrator or any professions or roles related which need a remote access to a specific host, server or workstation must have an automatic access without having to entry the password.
For an instance, if there is a certain file which is generated daily as a backup mechanism executed by a cron task scheduler and it need to be moved or it need to be duplicate as soon as possible without having to be interfered or done by someone manually, the process of the file duplication where the destination exist in a remote host, server or workstation or any other storage media, it is important to connect or to copy remotely in a non-interactive mode. In other words, no password is needed to do the task described above.
The protocol utilized to accomplish the tasks is a remote access protocol known as SSH (Secure Shell). It is a network protocol for permitting remote access securely so that the means for accessing remote host, server or workstation is provided securely. Below are the steps taken to accomplish the task :
- Generate public key from the server, host or workstation which is going to remote the destination server, host or workstation as shown below :
Continue reading “How to SSH Automatically without Password using Public Key”