View Full Version : Ssh?
DBZFanCentral
Wed 26th Dec '01, 2:33am
OK....hostrocket says they have telnet access but in fact they only have SSH access....
can I use this to import my sql dump?
when i tried it it me some directory error problem or whatever
so question is...is it the path that shows up when you FTP or is it the ABSOLUTE path?
also, if you can with SSH, is the command the same?
eva2000
Wed 26th Dec '01, 2:50am
What is SSH?
basically it's a secure version of telnet which you can use to mysqldump and restore your vB databases and run other commands in shell
http://www.employees.org/~satch/ssh/faq/ssh-faq-1.html#ss1.1
Secure Shell is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over unsecure channels. It is intended as a replacement for telnet, rlogin, rsh, and rcp. For SSH2, there is a replacement for FTP: sftp.
Additionally, Secure Shell provides secure X connections and secure forwarding of arbitrary TCP connections. You can also use Secure Shell as a tool for things like rsync and secure network backups.
The traditional BSD 'r' - commmands (rsh, rlogin, rcp) are vulnerable to different kinds of attacks. Somebody who has root access to machines on the network, or physical access to the wire, can gain unauthorized access to systems in a variety of ways. It is also possible for such a person to log all the traffic to and from your system, including passwords (which ssh never sends in the clear).
The X Window System also has a number of severe vulnerabilities. With ssh, you can create secure remote X sessions which are transparent to the user. As a side effect, using remote X clients with ssh is more convenient for users.
There are two versions of Secure Shell available: SSH1 and SSH2. This FAQ does its best to distinguish when the situation calls for the difference between the two.
you can use a SSH client to connect a list at
http://www.ece.nwu.edu/~mack23/ssh-clients.html
eva2000
Wed 26th Dec '01, 2:51am
putty
http://www.chiark.greenend.org.uk/~sgtatham/putty.html
and
SecureCRT
http://www.vandyke.com/products/securecrt/index.html
are recommended - i use SecureCRT
DBZFanCentral
Wed 26th Dec '01, 3:00am
i have the putty one...
so is the command to import the DB the same as for telnet?
eva2000
Wed 26th Dec '01, 3:07am
Originally posted by DBZFanCentral
i have the putty one...
so is the command to import the DB the same as for telnet? yup the same :)
DBZFanCentral
Wed 26th Dec '01, 3:33am
bash-2.05$ mysql -ublindho_admin -pPASSHERE blindho_vbb < /public_html/tmp/dump.sql
bash: /public_html/tmp/dump.sql: No such file or directory
hmmm......what am i doing wrong?? the sql dump IS there...
eva2000
Wed 26th Dec '01, 3:36am
1. are you logged in as root user in SSH/telnet ? if you are on shared hosting you need your web host to do that for you
2. is the path correct to /public_html/tmp/dump.sql ?
you need to have both 1 and 2 to be able to restore a sql file
DBZFanCentral
Wed 26th Dec '01, 3:37am
ummmmm....i am on hostrocket...and i don't have a dedicated server....
yes, i am in SSH at the prompt right when you log in
so i gotta email them, don't i?
and yes, taht is the directory
eva2000
Wed 26th Dec '01, 3:38am
Originally posted by DBZFanCentral
ummmmm....i am on hostrocket...and i don't have a dedicated server....
yes, i am in SSH at the prompt right when you log in
so i gotta email them, don't i?
and yes, taht is the directory yup need to ask your web host to do that for you
DBZFanCentral
Wed 26th Dec '01, 3:42am
already sent :)
thanks eva2000...VBB made a wise decision in making you a mod. A+++++ work :)
eva2000
Wed 26th Dec '01, 3:43am
Originally posted by DBZFanCentral
already sent :)
thanks eva2000...VBB made a wise decision in making you a mod. A+++++ work :) no probs.... :D
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.