Jump to content

ssh program for newbie


Recommended Posts

Posted

Ok looking for a ssh program for a complete newb at doing console stuff.

Due to recent events my host is going to allow me to ssh into my hosting and see what processes I'm on, they have told me I'm on my own and can't affect anyone else's hosting space or the security of the server.

So looking for some advice and even some good places to read up doing things. Mainly to allow me to find out what's suddenly decided to use almost 500 mbs of ram on a server with a population of 1-5 at most + search engines.

Posted

the first thing to do is creating the command to dump the database. In my opinion the most important.

The command via Putty will allow you to backup your db in a few seconds, and to store it inside a remote folder

On my servers I usually protect a random-name folder with .htaccess file ( login aut with user and password)

Normally the command is:

/usr/bin/mysqldump -uuser -ppassword databasename > /path_to/anyfolder/nameofdump.sql

The path of the command mysqldump is related to the webserver configuration, you have to ask you hosting a suggestion about

When the dump is done you can go via FTP to the folder you dumped inside and download the file.sql to your pc.

Sofisticated options are possible: you can define a cron, storing the dump in another webspace for example....

Enjoy your Putty

Posted

Yes I've gone with putty, was so easy to setup that it surprised me.

Alot of my issues this last week seems to be a certain part of the world hammering my site.

CSF firewall block on CN among others helps :smile:

Posted

+1 für WinSCP. WinSCP is a way to use SSH like it were FTP. You can still use all linux commands. But you have GUI for common things, like renaming files, setting permissions, deleting or creating new files without writing single linux command.

Posted

+1 für WinSCP. WinSCP is a way to use SSH like it were FTP. You can still use all linux commands. But you have GUI for common things, like renaming files, setting permissions, deleting or creating new files without writing single linux command.

Yup. And this is what I do like mostly. From Win pc.

Of course from Osx I use the terminal, with some google search for commands :tongue:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...