Git tips and tricks

use ssh over https on github git remote -v it will look like https://ww.github.com/… change it via git remote set-url origin <link> where link is of type git@github.com:codexetreme/… Generate ssh key rsa - an old algorithm based on the difficulty of factoring large numbers. A key size of at least 2048 bits is recommended for RSA; 4096 bits is better. RSA is getting old and significant advances are being made in factoring....

3 min · Yashodhan Ghadge

SSH Tips and tricks

to allow a host to login add their public key to authorized_keys file in .ssh folder. to create it do touch authorized_keys and then do cat <KEYNAME>.pub >> authorized_keys to disable password auth goto /etc/ssh/sshd_config and then set PasswordAuthentication no

1 min · Yashodhan Ghadge

Thoughts on working with FTPS

Thoughts on working with FTPS so with the java FTPS library, it is not easy to get FTPS up and running. a few hitches are: you may not have set a passive connection, this means that you are the one who picks the port over which the data transfer will happen, and not the server (hence “active”) if you goto passive mode via enterLocalPassiveMode, then the server will select a port for you....

2 min · Yashodhan Ghadge