We've expanded our news coverage and improved our search! Visit
news.oreilly.com for the latest or search for all things across O'Reilly!
| Subject: |
|
SSH Problem with Instructions |
| Date: |
|
2003-05-12 12:13:49 |
| From: |
|
anonymous2
|
Response to: SSH Problem with Instructions
|
|
FROM HOME WHILE LOGGED IN AS MYSELF 'craig', I GENERATE SOME KEY PAIR:
ssh-keygen -t dsa
THEN I BECOME ROOT AND COPY MY KEYS TO MY ROOT ACCOUNT ALSO
su -
cd /var/root/.ssh
cp ~craig/.ssh/id* .
THEN I TRY MY PORT FORWARDING TO WORK MAIL SERVER, I CHANGED THE HOST NAME
sudo ssh -2 -L 25:localhost:25 craig@work.example.com
THE RESULT:
surprisingly it no longer requires me to enter my root password for PORT FORWARDING on a PRIVILEDGED PORT.
is this a security violoation.
it always asked me for my root password prior to even trying to do port forwarding.
-craig
|
-->