[Gllug] SFTP Server

David Pashley david at parguild.co.uk
Wed Apr 9 11:07:27 UTC 2003


On Apr 09, 2003 at 11:51, Neil Fryer praised the llamas by saying:
> Hi All,
> 
> Can anyone point me to some really decent docs for the above, as I have to
> set up two of these in a hurry, and I know that SFTP is a subsystem of SSH,
> and I have enabled it in the sshd_config file, but now I need to allow key
> authentication, and to generate my own keys, and I don't know how to do
> this.
> 
> Thanks
> Neil Fryer
> 
Assuming that it uses the same method as normal ssh, then you can use
ssh-keygen to produce ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub. Copy 
~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys2 and you should be set.

Make sure you generate keys for ssh2. You will need to read the manpage
to check how to do this.

-- 
David Pashley
david at davidpashley.com
Nihil curo de ista tua stulta superstitione.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20030409/22460fc9/attachment.pgp>


More information about the GLLUG mailing list