Tag Info

Hot answers tagged


Note although the system call is called truncate, it actually is better interpreted as saying "Make my file report this many bytes in size". As per the system call manpage: The truncate() and ftruncate() functions cause the regular file named by path or referenced by fd to be truncated to a size of precisely length bytes. If the file previously was ...


If you have pasted the public key to authorized_keys in the format shown in question (---- BEGIN SSH2 PUBLIC KEY ----), it won't work. You have to use one-line format shown in PuTTYgen labeled "Public key for pasting into OpenSSH authorized_kes file". It would be like: rsa-key ...

Only top voted, non community-wiki answers of a minimum length are eligible