Wednesday, March 19, 2014

Password -less ssh / scp with RSA on ubuntu


1. creare rsa on client [ssh-keygen -t rsa]
2. copy rsa to server [ssh-copy-id -i rsaformyserver.pub build@myserver]
3. Try ssh [ ssh -i rsaformyserver build@myserver ]
4. Do same on server side

Share Article : Password -less ssh / scp with RSA on ubuntu
Share/Save/Bookmark

Sunday, March 9, 2014

MS SQL Server How to implement LPAD as in Oracle


select REPLICATE('0', 4 - DATALENGTH('234')) +'234'

Share Article : MS SQL Server How to implement LPAD as in Oracle
Share/Save/Bookmark