Skip to main content

what is the process to share files without samba

 There are multiple ways to share files without using Samba, such as using FTP, NFS, SSH, or HTTP. Here are the basic steps to set up file sharing using each of these methods:





FTP:


Install an FTP server software, such as vsftpd or Pure-FTPd, using the appropriate package manager for your operating system.

Configure the FTP server software to allow anonymous or authenticated access, specify the shared directory, and set up any required permissions and security settings.

Use an FTP client software on the client machine to connect to the FTP server, navigate to the shared directory, and upload or download files as required.





NFS:


Install the NFS server software and client tools, such as nfs-utils or nfs-kernel-server, using the appropriate package manager for your operating system.

Configure the NFS server to export the shared directory and set up the required permissions and security settings.

Mount the exported directory on the client machine using the mount command, specifying the NFS server IP address and shared directory location.






SSH:


Enable SSH access on both the server and client machines, if not already enabled.

Use the scp command to securely transfer files between the server and client machines, specifying the source and destination file paths, and using the appropriate SSH user and authentication method.






HTTP:


Install an HTTP server software, such as Apache or Nginx, using the appropriate package manager for your operating system.

Configure the HTTP server to serve files from the shared directory and set up the required permissions and security settings.

Use a web browser on the client machine to connect to the HTTP server's IP address or hostname, navigate to the shared directory URL, and download or upload files as required.

Note that the specific steps and commands may vary depending on the operating system and software being used, and additional configuration and security settings may be required to ensure safe and secure file sharing.

Comments

Popular posts from this blog

How to Reset Forgotten Password on Kali Linux

          Kali Linux is a Linux distribution used in the Cybersecurity domain. It is maintained and funded by Offensive Security. Kali Linux is Debian based and it uses the Debian repository for most of its packages. This Linux distribution is designed for digital forensics and penetration testing. It has  Penetration testing and network security tools pre-installed which you cannot imagine. It is completely free and open source. So you can use it for free and even contribute to its development.         Now forgetting login credentials is an annoying thing in the case of any operating system. Resetting forgotten passwords often comes with the risk of data loss and requires a lot of effort if you are not a technology enthusiast. This article will be a simple step-by-step guide on resetting forgotten passwords on Kali Linux. How to Reset Forgotten Password on Kali Linux?           In this section, we will ...

How to Start Bluetooth Services in Linux & Kali Linux (Step-by-Step Guide/Fix Bluetooth Not Working)

       If your Bluetooth is not working in Kali Linux or any Linux system, this guide will help you start Bluetooth service in Linux using simple command line steps…              Bluetooth is an essential feature in modern Linux systems—whether you're connecting wireless headphones, transferring files, or pairing devices for pentesting labs in Kali Linux. But unlike Windows, Bluetooth in Linux doesn’t always “just work” out of the box. If you’ve ever faced issues where Bluetooth won’t start, devices aren’t visible, or services seem inactive—this guide is exactly what you need. 🚀 Why Bluetooth Fails to Start in Linux? Before jumping into commands, let’s understand the common causes: Bluetooth service is disabled or inactive Required packages are not installed Systemd services are not running Hardware is blocked (rfkill) Kernel modules are not loaded 🛠️ Step 1: Check Bluetooth Service Status First, verify whether the Bluetooth servi...

Office 365: How to force users to change their password /O365

First we will see how to do it for one account then we will see how to do it for multiple accounts. 1. Install Prerequisites:       We will need MSOnline module to connect to Office 365 with PowerShell.         Open a PowerShell prompt with administrator rights : 2. Install MSOnline module :               It will Also install NuGet Provider , accept and yes to continue.   3.Connect to Office 365     Use Connect-MsolService  to open the Microsoft Office 365 sign in window :       Now a Pop Up windows will open For Microsoft Oath2 Security , Name and password of Administrative user or Global admin must be given here for making any changes.     4.Reset user password :           4A.Force new password :                        With this command we can set a password for a...