Help with SSH and public/private keys
location: linuxquestions.com - date: May 2, 2003
I have SSH working between my PC when it runs Win2k and my Linux server.
I rebooted the client into Mandrake 9.1 to get SSH working so I can use CVS under Linux as well.
I have my ~/.ssh/authorized_keys setup on the server, and this works because I can login to the server and use CVS from Win2k.
I copied my private key (file identity) from my Win2k partition and put it in ~/.ssh/identity on my Mandrake home partition.
When I try to SSH into the server, it works except I have to enter my password, as though I were logging in through telnet etc.... I presume this means that the private/public key combination isn't being used.
Are there any steps that I missed? Is it ok to copy the private key from the Win32 partition and store it in my home directory? The private key begins with some plain text describing the format of the private key (and not the private key data).
Any help appreciated
Help with SSH Login using RSA keys?
location: ubuntuforums.com - date: February 6, 2010
I'm having trouble logging in with SSH using RSA keys.
server: FreeNAS (FreeBSD) ip: 192.168.0.100
I generated RSA keys on Karmic, added the id_rsa.pub to the authorized_keys file on FreeNAS, then removed the id_rsa.pub from Karmic (this is a poorly documented but necessary step I learned).
My Karmic username is shawn, FreeNAS username is shawnboy.
When I do
ssh -l shawnboy 192.168.0.100
from Karmic it prompts me for my RSA key passphrase which it should do, but after I enter it, it fails and moves on to prompt me for my password. The output for this section (using -vvv on the ssh command) is:
Enter passphrase for key '/home/shawn/.ssh/id_rsa':
debug1: read PEM private key done: type RSA
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/shawn/.ssh/id_dsa
debug3: no such identity: /home/shawn/.ssh/id_dsa
debug2: we did
[SOLVED] Help with ssh port 22 connection refused
location: ubuntuforums.com - date: September 2, 2008
I am new to using ssh and wanted to try it out. I have been trying to connect to my ubuntu machine from my mac using ssh. I keep getting this error message:
$ ssh 127.0.0.1
ssh: connect to host 127.0.0.1 port 22: Connection refused
Any ideas or suggestions are much appreciated!
need help with SSH private/public key
location: linuxquestions.com - date: April 2, 2007
I been using SSH for a while now but never really did take the time to understand how it works, and it is true that ignorance is bliss.
Ok please keep in mind that most of the following questions revolve around NOT using password authentication and only using the private/public key authentication (SSH2).
So i use keygen to generate my rsa key on the client which creates my private id_rsa and my public key id_rsa.pub. I know I am supposed to keep the private key with me at all times and the public key should be distributed to all the systems to which I want to remotely log in TO. correct so far? So lets call my work PC ( where i will be logging in FROM) PC#1 and my home server (where i will be longing in TO) PC#2.
Q1 - Since PasswordAuthentication is set to 'no' on my sshd_config file in my server at home and I am doing strict public/private key logins then I read on the man pages that the public key should be copied to the file $HOME/.ssh/authorized_keys on my
Urgent! Need Help!! with SSH
location: linuxquestions.com - date: August 2, 2013
Trying to fix a error connection with Dovecot / Squirrelmail I chmod 777 /home directories and now SSH refuses to work.
Please note server is remote. So I need to know what to ask to support so I can be able to SH into the box and fix.
Need help with SSH server
location: linuxquestions.com - date: April 7, 2006
I have started a new job and they don't allow me to connect to my LInux at home using ssh. I feel pretty lost without it.
I have seen Mindterm SSH java applet that basically allows you to connect to SSH over the web but using there applet still gets connection refused.
Does anybody know of either an Opensource or Commercial product that I can use so that I can browse to https://mydomain.com/ssh and connect to mt ssh server that way
Need some help with ssh
location: linuxquestions.com - date: March 10, 2006
Hi there my fellow Linux Users!
Could really use some help setting up ssh to use protocol 1 as well as 2. At this point it's only accepting protocol 2.
When I try to restart the sshd service I get this message:
Disabling protocol version 1. Could not load host key.
What setting in sshd_config should I change for it not to require host keys for ssh 1?
help with ssh
- date: October 12, 2008
I want to remotely connect to my school server, using X11 tunneling and to transfer files. I'm able to get in, but I can't get X11 enabled, nor can I figure out how to transfer.
Here's what i'm gettin for X11 (supposedly the commands -X and -Y should enable it, but I guess i'm having a usage issue).
:~$ ssh -X
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]yadayada
and for file transfer: (In this exaple, i've already logged in)
cory  ~/projdump/proj1 > scp draw.java [email protected]
ssh: daren-laptop: node name or service name not known
[SOLVED] Need Help with SSH forwarding
location: ubuntuforums.com - date: December 5, 2008
The situation is next.
I has computer connected only to external computer with ssh, that computer is only connected to another external computer, which is connected to enternet.And i want to connect through ssh to internet from first computer.
And the problem is that, a cant succeed =(
I was forwarding from local comp to second on port 22, on second from port 22 to port 22 on third...in different ways...
But it nothing...
So at last i decided to ask for help, to get step buy step solution for my specific problem.
Need help with ssh command to do X11 forwarding
- date: March 15, 2011
I know how to enable X11 forwarding if I SSH directly into the system, for example:
ssh -X server1
However, I'm trying to get X11 forwarding on a system I don't have direct access to. I need to first SSH into a server I do have access to, server2, then from there I can SSH into server1. I know about port forwarding but I'm not sure how it works with regards to forwarding X11 windows.
For port forwarding server1's web page, I'd do this:
ssh -L 9999:server1:80 [email protected]
Then opening http://localhost:9999 on my computer would bring up server1's webpage. What is the equivalent SSH command for X11 forwarding so if I typed it and executed gedit for example, that program from server1 would pop up on my Desktop? Thanks for any help!
Page: 1 2 3 4 5 6 7 8 9 10