![]() But after playing around, I found a much bigger use for SSH access. ![]() Now if I ever lost file ownership again, I could use the cd command to change into that directory and use the command I'm going to show below to take ownership of the file. This time, I could see all the accounts on my server. Please note, there is a space between cd and /.Īfter changing directories, I used the ls command again. "cd" is the command to change directories. So even though I didn't see the home directory using the ls command, I was able to access it using the command below. The home folder is where all the accounts / domain names reside on my server. One thing I noticed on my server is the ls command didn't show the home folder. (Lower Case LS, yes commands are case sensitive) This works much like the dir command did in MS-Dos. If you type in ls followed by enter, you'll be given a list of the files and directories on the server. Provided you entered the correct user name and password, you'll be given a command prompt. Simply enter your password and press enter again. The next line that will appear will ask for your password. This is where you will type your login name and press enter. The simply click open.Ī black window will open that will have the words login as in the upper left screen. ![]() Once you download Putty, you'll need to select SSH as the connection type and enter the host name or IP address to your server. The tech at my hosting company recommended I download a free Shell access program called Putty. So if you are interested in using SSH to access your server, here are some basics to get you started.įirst of all, you need a SSH program. The tech representative was nice enough to walk me through the process of regaining ownership using SSH should this problem occur again.Īfter playing around with SSH access for a few hours, I really regretted not using this tool sooner. When I called my hosting company, I had lost ownership of the files. When I attempted to delete a directory on one of my server accounts, I kept getting an "access denied" error. My need arose to have SSH access when I lost ownership of some files on my server. Most FTP programs will allow you to upload files and change their permissions. In the past, I've always accessed my server using a free FTP program like Filezilla. Everything you do must be executed using standard SSH commands. It looks and operates much like the MS-Dos windows many of us are familiar with. Once the need arose to access my server using Shell, I realized just how powerful a tool it is.īasically Shell gives you access to a command prompt on your server. Up until a few days ago, I didn't even know what Shell access was and have never had a need for it. ![]() I've noticed most of the servers I've used listed "Shell Access" as one of the features. I've owned and managed multiple websites for over a decade now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |