Help Setup SSH Access to my Web Server

8 replies
Hey Guys,

I have no idea what I'm doing. I'm trying to access my web server for a site I'm setting up at vegastraveltours.com (Nothing there.)

I don't know if I need to set anything up on my server's DirectAdmin control panel. I've searched google a million times for the answer and can't find anything.

I don't know how to log in via SSH. I've tried two clients, but I don't really know what I'm supposed to type in to log in. Is it just my site URL? ie. vegastraveltours.com? Is it vegastraveltours:22 for the port? Is it derekp@vegastraveltours.com?

Anyway - I'm quite frustrated at the moment, because I've also spent the last 20 minutes wrestling with possibly the least user friendly program in the world, ZipDeploy, which supposedly allows you to upload Zip files and unzip them on your server, but instead is actually a program designed to frustrate the end user to no end.

Anyway - I apologize. If anyone can help me get shell access to my server, I would really appreciate it.
#access #server #setup #ssh #web
  • Profile picture of the author Ut
    Did you ask your host about it? I think many hosting company change SFTP port number - redirect - because of security reasons.
    {{ DiscussionBoard.errors[418100].message }}
  • Profile picture of the author Ty Criddle
    Ut, good point about the port number, check that,

    ..but Derek, as to software, I've used Winscp ( installed on Windows ) to open up a file manager-like app ( drag and drop files, change permissions, etc ) or use Putty for a command line app...got to know the url, port number, username ( in the format of your ISP gives you) and a password

    Hope that helps

    cheers...ty
    {{ DiscussionBoard.errors[418123].message }}
    • Profile picture of the author jl5501
      Hi

      You need a tiny windows program called puTTY to access a server via SSH



      Hope that helps
      {{ DiscussionBoard.errors[476043].message }}
  • Profile picture of the author Neil Morgan
    Putty is what I use too. It's free and does what it says on the tin.

    However...

    You'll really need to know what you're doing when you log in. All you'll be faced with is an unfriendly command prompt where you need to type Linux commands before anything will happen.

    Cheers,

    Neil
    Signature

    Easy email marketing automation without moving your lists.

    {{ DiscussionBoard.errors[476069].message }}
  • Profile picture of the author awesometbn
    Hello Derek,
    I'm not sure who your hosting provider is, but if you setup SSH at Hostgator for example, you have to submit a support request to enable your access. It is free, even for shared hosting plans. Once that has been setup, you can use putty or WinSCP or SecureCRT or a similar program to connect to your server. In the SSH program, you need to enter your fixed IP address or the domain name (like example.com). The port number is usually 22, but your host might use something else. At Hostgator it is port 2222. Enter your hosting username and password. Select SFTP as your default file protocol. And you should be able to communicate with your server over an encrypted channel.

    There are other ways to do this from the command line, but I was just assuming you might be on a Windows box trying to connect to the web server. Let me know if that helps. Thanks.
    {{ DiscussionBoard.errors[478066].message }}
  • Profile picture of the author awesometbn
    Originally Posted by Derek Pankaew View Post

    I'm quite frustrated at the moment, because I've also spent the last 20 minutes wrestling with possibly the least user friendly program in the world, ZipDeploy, which supposedly allows you to upload Zip files and unzip them on your server
    Derek I wanted to let you know that some hosting providers have an option in their file manager to automatically uncompress ZIP files for you. No need to use any other programs, just upload the entire ZIP file, then select it to uncompress to the folder you specify. From cpanel, I open the file manager, and the option to unzip a file is near the upper right corner of the screen.

    Before I figured this out (earlier versions of file manager in cpanel did not have this unzip option) I was uncompressing all of the files locally, then uploading en mass. At that time I did try to experiment with some other helpful PHP scripts that would unzip files for me. But it relied on being able to access the gzip program from your hosting provider.
    {{ DiscussionBoard.errors[478083].message }}
  • Profile picture of the author GB2008
    Rather than unzipping on the server - I've been using Corel FTP Lite to upload big packages to my webserver. Admittedly it is slower than transferring a zip file, but it will just run in the background while you get on with something else.

    Also - just to echo the comments about connecting via SSH - you will get a VERY unfriendly, but very powerful interface. You can do some serious damage to your server setup if you are not familiar with command line syntax, so I would avoid that route into a production server unless and until you know what you are doing.
    Signature
    {{ DiscussionBoard.errors[637974].message }}
  • Profile picture of the author Greg Johansen
    Ok. So what I think you are trying to do is upload and unzip large files.
    First thing you need to do is enable ssh access in your CP. It should be an options on some CP's when you setup your account. If not, then contact your host and ask them to enable ssh access.

    Next thing you need to do is get your file uploaded correctly. Make sure it is compressed as a .tar.gz and in your correct directory. If you don't know what I am talking about, then download 7Zip (you are using Windoze?) and make a .tar.gz out of your folders.

    Upload this via a regular FTP program to the folder where you want it extracted.


    Next thing you need to do is

    • Install Ubuntu
    or

    • Download Putty
    so you then get into a Terminal in Linux or Putty and type the following
    Code:
    ssh username@sitename.com
    then you input your password

    type:
    Code:
    ls
    to list the directories
    and then
    Code:
    cd directoryname
    to the directory where your file is. when you are in the directory just type

    Code:
    tar -zxvf filename.tar.gz
    and it should extract right there.


    So if you can do all that and are not too frightend, you can consider doing an install of Ubuntu and improve your efficiency by about %200
    {{ DiscussionBoard.errors[638348].message }}

Trending Topics