List Info

Thread: Problem with ssh




Problem with ssh
country flaguser name
United States
2008-03-18 12:15:14
I have tried using the following command with negative
results.
 
      ssh -L 5902:localhost:5901 scorpio
 
That produces this error message:
 
      Permission denied (publickey).

I found a reference to this command at:
 
http://www.cl.cam.ac.uk/research/dtg/attarchive/v
nc/sshvnc.html
 
I cannot figure out how to correct whatever the problem is.
I am attempting to connect to a FreeBSD-6.3 machine running
'TightVNC' from a WinXP machine. The connection works fine
using a regular connection; however, I would prefer to use
'ssh' and limit the port to localhost for security.
 
Thanks!

-- 
White Hat 
pigskin_refereeyahoo.com


     
____________________________________________________________
________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9
tAcJ 

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Problem with ssh
country flaguser name
United States
2008-03-18 13:51:15
On Tue, 18 Mar 2008, White Hat wrote:

> I have tried using the following command with negative
results.
>
>      ssh -L 5902:localhost:5901 scorpio
>
> That produces this error message:
>
>      Permission denied (publickey).
>
> I found a reference to this command at:
>
> http://www.cl.cam.ac.uk/research/dtg/attarchive/v
nc/sshvnc.html
>
> I cannot figure out how to correct whatever the problem
is. I am attempting to 
> connect to a FreeBSD-6.3 machine running 'TightVNC'
from a WinXP machine. The 
> connection works fine using a regular connection;
however, I would prefer to 
> use 'ssh' and limit the port to localhost for
security.
>
> Thanks!
>
> -- 
> White Hat
> pigskin_refereeyahoo.com

Can you use putty or the like and ssh into scorpio without a
prompt? If not then 
you just need to key up ssh to allow login via ssh-add.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Problem with ssh
user name
2008-03-18 13:53:18
On Tue, Mar 18, 2008 at 10:15 AM, White Hat
<pigskin_refereeyahoo.com> wrote:
> I have tried using the following command with negative
results.
>
>       ssh -L 5902:localhost:5901 scorpio
>
>  That produces this error message:
>
>       Permission denied (publickey).

The host 'scorpio' is denying you access to the system from
your user
(it attempted public key authentication and that failed).

It should work if you make sure your authentication to the
destination
host works.

-- 
Darren Spruell
phatbuckettgmail.com
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )