View Full Version : how to use SSH ?
attitudefever
06-21-2004, 12:37 PM
can here anyone tells me how to use SSH service ....
i know there are lots of masters present on this great site ... can anyone help ... iam very very new to this n i even don't know what is it accept one thing that it helps to upload files on my server ... thats all i know about it ... how to use it thats ma problem
thanx
mushroom
06-21-2004, 01:50 PM
It would help if people knew what OS you where using.
steve0
06-24-2004, 12:59 AM
If you are copying files.. are you sure FTP won't work.
If not.. search for tutorials on 'scp'
For starters..
windoze
http://www.chiark.greenend.org.uk/~sgtatham/putty/
*nix
%>man ssh
HookahMaster
01-18-2008, 03:22 PM
I am using the putty program to look up different things on my server. I am new to this program. I don't know much about linux command line. I was hoping someone might know some commands I could use. I was told that there are some programs running on my server that are causing my website to run slow but they would not tell me what those programs were. What command line codes can I use to find this out?
I would be thankful for anyone who could.
Tech Manager
01-18-2008, 10:41 PM
I am using the putty program to look up different things on my server. I am new to this program. I don't know much about linux command line. I was hoping someone might know some commands I could use. I was told that there are some programs running on my server that are causing my website to run slow but they would not tell me what those programs were. What command line codes can I use to find this out?
I would be thankful for anyone who could.
Putty is an excellent little program for accessing a variety of services including SSH. There are a variety of commands that you could run to gather more information about your box, website, etc., but it is best to know a little bit about Linux before practicing on a live server.
Please provide some information about your Linux box. Is it a dedicated server or are you on shared hosting? Is your website the only site on the server? What version of Linux are you running? How much RAM? What size drives are you running? Is your website static or dynamic? Are you using an SSI like PHP or Perl? Are you using a database on your site? Is your site built using custom applications or are you using something like Zen Cart or phpBB?
If you are new to Linux I highly recommend that you poke around all you want, but don't start changing anything unless you absolutely know what you are doing. While Linux is easier to fix than a corrupted Windows box, it is better to start your troubleshooting by providing a few details to more experienced Linux administrators. Then maybe we can help walk you though a few things.
So, it sounds like you have PuTTY worked out, but just not sure how to go about navigating in the *nix world. Check this link for a list of basic commands:
Unix commands reference card (http://www.indiana.edu/~uitspubs/b017/)
Here are a few main ones to get started on.
ls - List directory
cd dirname - Change directory to dirname
rm thisfile - Remove file called thisfile
mv thisfile thatfile - Move thisfile to thatfile (rename)
cp thisfile thatfile - Copy thisfile to thatfile
cat thisfile - View contents of thisfile
more thisfile - View contents of thisfile, page-by-page (spacebar advances pages)
file thisfile - find out what kind of file "thisfile" is. (ASCII text, binary, etc)
pwd - Show your current directory location
That's a start, anyway :) Good luck!