OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.
The OpenSSH suite replaces rlogin and telnet with the ssh program, rcp with scp, and ftp with sftp. Also included is sshd (the server side of the package), and the other utilities like ssh-add, ssh-agent, ssh-keysign, ssh-keyscan, ssh-keygen and sftp-server.
Support the OpenSSH project.
Ecrypt a file-
openssl aes-256-cbc -a -salt -in topsecret.txt -out topsecret.txt.enc
-openssl is the command for the OpenSSL toolkit.
aes-256-cbc is the encryption cipher to be used. (256bit AES is what the United States government uses to encrypt information at the Top Secret level.)
-a means that the encrypted output will be base64 encoded, this allows you to view it in a text editor or paste it in an email. This is optional.
-salt adds strength to the encryption and should always be used.
-in secrets.txt specifies the input file.
-out secrets.txt.enc specifies the output file.
-you will be prompted for a password.
Decrypt a file-
openssl aes-256-cbc -a -d -salt -in keychanges.tar.gz.enc -out keychanges.tar.gz
-d decrypts data.
-a tells OpenSSL that the encrypted data is in base64.
-in secrets.txt.enc specifies the data to decrypt.
-out secrets.txt.new specifies the file to put the decrypted data in.
-enter password when prompted.
For more information check out http://tombuntu.com.
No comments:
Post a Comment