Displaying 1 result from an estimated 1 matches for "authkeyfile".
2013 Jul 01
9
[Bug 2123] New: does not seem to support sftp protocol version 5 rename flag for overwriting files
...ian.org/714606 I seek an alternative to
ruby-net-ssh ssh.exec("mv old new") the authorized key file for our
distkeys SSH key distribution tool that I currently packages for Debian
(see there bug #712787).
I thought about using ruby-net-sftp rename! function as follows:
@sftp.rename!( newauthkeyfile, @authkeyfile, 0x0001 )
But I do get:
./distkeys -K somekey.pub -H somehost remove
Host: somehost
Connecting to host somehost (user: someuser, port: someport)...
Opening SFTP session...
Key somekey removed.
Creating a backup to .ssh/authorized_keys-2013-07-01.bak if not already
done today...
Up...