SSH/Putty Keys
Aug 7, 2008
I have setup a private/public key for myself so I can login to SSH with a different password now I need to setup for someone else.
Now do I put there public key in the same file as my public key on the server, or do I make a new file on the server?
View 4 Replies
ADVERTISEMENT
May 2, 2009
I am trying to transfer a 1.1GB file from one of my servers to one of my servers in another data center.
What command would I use inside PuTTy to transfer the file via FTP, not SFTP.
View 8 Replies
View Related
Oct 22, 2009
what do you guys use for shell access?
It's been 2 years since last Putty release, so would like to dump it in favor of something else.
View 14 Replies
View Related
Nov 1, 2009
How do I configure PuTTY to produce the equivalent of this command:
ssh -f root@xxx.xxx.xxx.xx -L 3333:yyy.yyy.yyy.yy:80 -N
So far the configuration I've come up with is:
Source Port: 3333
Destination: yyy.yyy.yyy.yy:80
"Local"
"Auto"
This doesn't seem to do anything at all. I don't use windows much, so go easy on me
View 2 Replies
View Related
Oct 24, 2009
I usually go mobile and I would need putty in my wm 6.1
is there some sort of "putty" or any other ssh tool where i can run ssh commands?
View 11 Replies
View Related
Jul 3, 2008
I'm trying to get to my server using putty but when i enter my root password is says its invalid when i know its valid because i can login with it in WHM.
View 4 Replies
View Related
Oct 26, 2007
putty, and the SSH commands in general
When I open a file using "vi" command, it just open the file and I don't know how to edit it, by removing or adding text to it, so how can I do it?
View 5 Replies
View Related
Dec 15, 2007
What is the ssh command to initiate my FTP backup for WHM? I do not want to wait for the control panel cron and wanted to run it manually?
View 6 Replies
View Related
Jul 27, 2007
Im at work, and im trying to use putty behind a proxy. Im guessing they have L3 managed switched as I cannot just connect a server like I wiuld normally at home.
They are using a windows proxy (port 8080) so im guessing ISA...
View 0 Replies
View Related
Aug 7, 2008
I use SSH Putty from my Windows PC to login to multiple Servers. So I usually have multiple Putty windows on my desktop.
How can I set Putty to display the hostname or IP Address of the server in the title bar - So it'd be easy for me to choose the right Putty Window.
View 2 Replies
View Related
May 24, 2008
Out of sudden today, my cPanel server box appear this kind of error on my putty screen. Just wondering what is that all about?
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Oops: 0000 [#2]
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: SMP
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: CPU: 1
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP: 0060:[<c01ae881>] Not tainted VLI
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EFLAGS: 00010282 (2.6.21.1 #2)
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP is at ext3_splice_branch+0x90/0x134
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: eax: 000007ab ebx: cf3b1c28 ecx: 00000001 edx: 000007a9
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: esi: e87fdd80 edi: cf3b1c40 ebp: f798d9b4 esp: cf3b1bd5
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Process pkgacct (pid: 3859, ti=cf3b0000 task=eebd25b0 task.ti=cf3b0000)
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Stack: 00012b35 a9000000 04000007 28f31165 66cf3b1c 40012b35 00cf3b1c d0000000
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: 40c01aeb 00cf3b1c 01000000 40000000 e6cf3b1c 6cc01701 03f31164 04000000
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: b4f31165 01f798d9 00000000 62000000 a0000000 c7f31164 00012b31 00000000
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Call Trace:
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: =======================
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Code: 3b 5c 24 2c 7d 0b 8b 17 89 c8 41 89 04 9a 43 eb ef 85 f6 74 1e 8b 4c 24 2c 8b 54 24 08 8d 44 0a ff 81 46 1c 6b 44 24 28 0c 8b 44 <38> 04 01 c8 48 89 46 20 8b 4c 24 0c 31 d2 a1 80 42 5f c0 89 51
Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP: [<c01ae881>] ext3_splice_branch+0x90/0x134 SS:ESP 0068:cf3b1bd5
View 1 Replies
View Related
May 13, 2009
I am trying to create an ssh key pair to allow rsync without passwrods between two debian boxes.
I have Main server which I want to push data to Backup server
I have followed the tutorial at [url]but this does not work when I ssh or rsync eaither from main server to backup server or ther other way it still requires password.
View 2 Replies
View Related
Jul 4, 2008
I have a problem w whm/cpanel and my server.
Im starting to use private/pub keys for ssh access, so far i can access the server via ssh w the key (ive disabled pass access in sshd_conf) but when i want to copy accounts from this server (the one w ssh key) trough the whm interface to another who hasnt key it doesnt work... am i missing something?
View 3 Replies
View Related
Feb 7, 2007
i have my own centos server . i want to let some of my friends to login to my box using ssh keys , so i set an authorized_keys file to have their pubic_keys.
Now , my question is how can i limit the commands they can execute?
i mean let them just only "rsync" their files from their boxes to mine , without any ability to execute any other commands or even loging to my box!
View 4 Replies
View Related
Dec 24, 2007
I'm having a problem with SSH keys (they don't work out of the box correct with cPanel) I bilieve the error is in my sshd_conf, but if someone could assist me with what settings that should be uncommented that would be helpful.
Anyways, just some history of what I did so far:
Generated a passphraseless key within Server(A1). Took the public key (not the private, left the privat on the server itself) and transferred it to a file authorized_keys on Server(B2).
Chmod that file to 600. Then ran the following command:
ssh -v -i /root/.ssh/authorized_keys -p 1234 root@xxx.i.p.xxx
First I still get asked for a passphrase (which is wierd since it's suppose to be passphraseless), then when I just press enter (to signify that there is no passphrase), I get the following error:
Permission denied (publickey,gssapi-with-mic).
View 3 Replies
View Related
Sep 24, 2007
I am currently running Cent OS 5...where do I find the directory or file to add my public key to?
View 9 Replies
View Related
May 7, 2009
I am using Putty to connect to my server via ssh.
When opening a direct connection, i can login quickly without any problem
Quote:
login as: gracie
gracie@server1's password:
Last login: Thu May 7 07:31:26 2009 from 192.168.0.5
gracie@server1 [~]# sudo su -
Password:
root@server1 [~]#
When I open a connection FROM ANOTHER SERVER, I have to wait more than 20 seconds
Quote:
login as: tech2
tech2@server2's password:
Last login: Thu May 7 07:32:07 2009 from 192.168.0.5
tech2@server2 [~]# ssh gracie@192.168.0.222
Password:
After I enter the password, I waited 20 seconds before I am logged in.
View 2 Replies
View Related
Jun 14, 2008
I’ve just switched to a deticated server. I have backups of sites I need to move over and restore. cPanel has a “Restore a Full Backup/cpmove” option. Two questions…
1) How do I upload the back up file to the /home directory of my deticated server?
2) If the backup file is under a current client “/home/clienta” how do I restore it?
I’ve also tried using puTTy to restore the file.
- logged into as “root”
- typed “cd /home”
- typed “/scripts/restorepkg domainname”
View 5 Replies
View Related
Jul 18, 2008
i use for login to ssh by putty
and i run very command and result
how may i saved all this command and result in putty?
View 5 Replies
View Related
Jan 3, 2008
I am having problem login to my server using root as login.
Here is the situation:
I have the root access for WHM as user1 for login, and password1 for password. This can allow me to login to my WHM.
However, in SSH (Putty) I tried to connect to the server using user1 as login, but when I typed password1, it said access denied..
View 11 Replies
View Related
Jun 24, 2007
How can use this feature in cpanel of my dedicated server Manage SSH Keys.
Any place where there is a small tutorial on this feature?
View 6 Replies
View Related
Jan 18, 2007
removing my ssh key from the server. I want to be able to login with just a password. I have to change one of my servers and I cannot do it with the keys enabled.
View 1 Replies
View Related
Oct 28, 2007
I've setup my ssh to login with keys and passphrase. I would like to do away with passphrases by using agent forwarding. Putty uses Pageant to store private keys, bu from all the tutorials I can find, it's a windows based feature (to add private keys). I've also tried to use ssh-add (a different agent), but it has trouble recognizing my private key passphrase (made with putty). I know the private key is working because I'm able to use use ssh without a password, just the phrase.
What's the best way to do this? Is there a putty pageant command line that I don't know about?
View 2 Replies
View Related
May 15, 2008
I had previously had this working. However, I changed the second VPS and now I can't remember how I set it up.
I will call it SourceVPS and BackupVPS.
I am trying to setup SSH keys to allow me to SCP backups from the sourceVPS to the backupVPS.
The SCP command I am trying to run on the SourceVPS is:
Code:
scp -i /root/.ssh/VPS_root_access_key -pr /root/movetest.txt root@server.BackupVPS.com:/backup/
Previously, I had the SSH keys between the SourceVPS and BackupVPS so the above command would move a file from one to the other (instead of movetest.txt, that is normally the name of the backup file being moved).
Can someone walk me through the steps for setting up the SSH keys? I am on Cpanel/WHM and Centos 4.6
View 1 Replies
View Related
Jan 19, 2008
A Short tutorial to use SSH keys instead of plain password to login.
1. Logon to WHM and goto Main >> Security >> Security Center
2. Under "SSH Password Auth Tweak" and disable the Password Authentication.
3. Under "Manage SSH Keys" click on Generate new key.
4. Give a Key name and Generate a good password (remember it). Choose KeyType as DSA since it's more secure than RSA.
5. Once done, you will see a pair of public private keys. Authorize the public key to connect.
6. View/Download the private key to your system. If you're using putty it can also generate in relevant format.
7. Save the key in a secure place in your local system and chmod to 600 so that no one can read it.
8. Next, connect to your server:
Code:
root@localhost ~]# ssh -i /path-to-file/file.key root@server.ip.address
It should ask for the password, if you have used in step 4.
View 10 Replies
View Related
Jul 22, 2008
TLDR version:
when populating and attempting to write keys to authorized_keys I'm receiving the following error:
Quote:
Could not create directory '/home/Administrator/.ssh'
Long version:
I've been grinding my wheels with this for a long time now. Basically I'm attempting to get rsync set up to backup some data directories on my Windows 2k3 Server through a batch file with task scheduler to bqbackup. I've been back and forth with both Scott and Rsync.net's tech support about this issue - both of which have been great... but essentially keep hitting the same impasse with Scott appearing to have hung his hat stating he's not familiar enough with windows and rysnc.net telling me to wait for their GUI client that should be launching "soon." In the meantime I'm just running the backup manually until I can get this key issue figured out.
Here's what's going on:
I've been mainly using BQ's Guide and Rsync's Guide to try and accomplish this.
After executing ssh-keygen -t rsa -N ''
I receive the following message:
Quote:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/Administrator/.ssh/id_rsa):
If I accept the default value it gives me I receive this error:
Quote:
Could not create directory '/home/Administrator/.ssh'.
Open /home/Administrator/.ssh/id_rsa failed: Not a directory.
Saving the key failed: /home/Administrator/.ssh/id_rsa.
Now my thoughts were this was occurring because my %homepath% is actually:
Quote:
c:documents and settingsadministrator.DOMAIN
(DOMAIN replacing actual text)
I'm able to change the default path location and create the RSA file elsewhere using the cygdrive format... so when prompted for the path to save I instead input:
Quote:
/cydrive/c/docume~1/administrator.DOMAIN/
and am able to create the RSA file... so mission accomplished... so far, I believe I'm past this, the snafu is now occurring on writing these keys to the authorized_keys file on BQBackup...
Quote:
C:Program FilescwRsyncin>rsync -av "/cydrive/c/documents and
settings/administrator.DOMAIN/.ssh/id_rsa.pub"
<login>@<host>:.ssh/authorized_keys
Could not create directory '/home/Administrator/.ssh'.
The authenticity of host '<host> (<ip>)' can't be established.
RSA key fingerprint is 18:02:d9:95:06:a9:70:74:86:b7:76:41:f6:71:a0:a4.
(<login>@<host> replacing actual login & host... it's definitely connecting)
That pesky '/home/Administrator/.ssh' pops up again. I'm not sure if that's what's causing the issue or not. I'm not even sure why the %homepath% for my administrator account on the server is set to administrator.DOMAIN, but AFAIK I can't log in to a local account on a Win2k3S box, correct?
Now, you'll notice that the command I issued to upload the keys I got from the RSync.net instructions. BQ's instructions for step 3 are pretty foreign to me.
I've gone further than this and attempted other things such as SSH'ing into my BQ server using putty and attempting to write the keys that way with no luck. I can't fully remember the errors I encountered doing so, though.
View 12 Replies
View Related
Apr 3, 2009
in order to secure my server against instrusion, i disabled ssh root login and created a user for myself. however in order to access the user i need to enable SSH Password authentication
I dont enable password authentication all the time and i keep it disabled unless i need to do something via ssh.
Now my question will be, is there a way to keep the user i created and keep the root login disabled and password authentication disabled but use ssh keys for the user i created?
I was informed that if i opt to login to ssh via the user i created, the only way to do that is to enable password authentication as it cannot work with ssh keys. is this true?
I really hope someone can help me how to use the user i created together with ssh keys so i dont have to enable password authentication when loggin to ssh
View 7 Replies
View Related
Jun 30, 2009
how to set DKIM and Domain Keys on centos 5.2 with cPanel?
1. as my friend is using it for an IPB forum, some of his mails r rejected to especially
2 famous email providers, on research found, they are checking with DKIM or domain keys to verify the mails..
I came to know from some where tht domain keys aren't updated any more, so is it safe to use the last available release and is it bug free?
2. Can we add both DKIM and Domain Keys for the mails been sent on the server?
3. how to add them,
View 5 Replies
View Related
Jul 3, 2008
Currently I have a server that has direct root SSH access disabled (have to login as regular user then su to root), but I am currently working on setting up authentication via SSH keys, but I can't seem to get it working with direct root SSH access disabled? Is this normal, and if so is there anyway to work around it?
Basically I'd like to be able to authenticate both ways; both with SSH keys or by logging in as a regular user and su to root.
View 8 Replies
View Related