Learning these commands helps you exchange files between computers without installing additional software.
To connect to your server from your PC you can use Putty and type simple SSH commands to perform different basic actions such as creating folders, copying them and so on. Download Putty here (a)Provide Hostname or IP address of the VPS or dedicated server (b) Choose SSH or telnet (c) For SSH, it will ask for. ( 1)How to connect to Server using putty.
I have included SSH Putty commands for all major Linux distributions like Cent-OS, Ubuntu. To work with Putty you need to know few basic Putty Commands. These putty commands should help you in daily work on the server.
Given the availability of numerous graphical FTP clients, the text-based FTP client built into Windows and Mac OS X operating systems is a reliable tool for testing and troubleshooting. PuTTY was originally written for Microsoft Windows, but it has been ported to various other operating systems. The computer, if specified, must be the last parameter on the line. Specifies the computer name or IP address of the remote computer to connect to. Overrides the default transfer buffer size of 4096. Use any local interface when binding data connection. Use this switch instead of redirection (>). Specifies a text file containing ftp commands the commands automatically run after ftp starts. Turns off interactive prompting during multiple file transfers.Įnables debugging, displaying all ftp commands passed between the client and server.ĭisables filename globbing, which permits the use of wildcard characters in local file and path names. Suppresses auto-login upon initial connection. Suppresses verbose display of remote server responses. Shows status of currently enabled and disabled options. Removes a directory on the remote computer. Lists contents of multiple remote directories.
Lists files of the remotely connected computer.
Sends a literal command to the connected computer with an expected one-line response. When turned on, for each 1024 bytes of data received, a hash-mark (#) is displayed.Īccesses the Help screen and displays information about the command if the command is typed after help.ĭisplays local directory if typed alone or if path typed after lcd will change the local directory. When turned off, the file name in the put and get commands is taken literally, and wildcards will not be looked at. Once back in the operating system, typing exit takes you back to the FTP command line.ĭir -1 = Lists the files in bare format in alphabetic order.ĭir -r = Lists directory in reverse alphabetic order.ĭir -R = Lists all files in current directory and sub directories.ĭir -S = Lists files in bare format in alphabetic order. This command toggles back and forth between the operating system and ftp.