<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>password Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/password/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/password/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:52:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How To scp, ssh and rsync without prompting for password using OpenSSH</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 07:36:40 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Rsync]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[SSH]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4599</guid>

					<description><![CDATA[<p>Verify that local-host and remote-host is running openSSH ssh -V OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 Lets say you want [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh/">How To scp, ssh and rsync without prompting for password using OpenSSH</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Verify that local-host and remote-host is running openSSH</strong><br />
<em>ssh -V</em><br />
<em>OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006</em></p>
<p><strong>Lets say you want to copy between two hosts host_src and host_dest. host_src is the host where you would run the scp, ssh or rsyn command, irrespective of the direction of the file copy!</strong><br />
<strong>1.</strong> On host_src, run this command as the user that runs scp/ssh/rsync<br />
$ ssh-keygen -t rsa<br />
This will prompt for a passphrase. Just press the enter key. It&#8217;ll then generate an identification (private key) and a public key. Do not ever share the private key with anyone! ssh-keygen shows where it saved the public key. This is by default ~/.ssh/id_rsa.pub:<br />
Your public key has been saved in &lt;your_home_dir&gt;/.ssh/id_rsa.pub</p>
<p><strong>2.</strong> Transfer the id_rsa.pub file to host_dest by either ftp, scp, rsync or any other method.</p>
<p><strong>3.</strong> On host_dest, login as the remote user which you plan to use when you run scp, ssh or rsync on host_src.</p>
<p><strong>4.</strong> Copy the contents of id_rsa.pub to ~/.ssh/authorized_keys<br />
$ cat id_rsa.pub &gt;&gt;~/.ssh/authorized_keys<br />
$ chmod 700 ~/.ssh/authorized_keys<br />
If this file does not exists, then the above command will create it. Make sure you remove permission for others to read this file. If its a public key, why prevent others from reading this file? Probably, the owner of the key has distributed it to a few trusted users and has not placed any additional security measures to check if its really a trusted user.</p>
<p><strong>5.</strong> Note that ssh by default does not allow root to log in. This has to be explicitly enabled on host_dest. This can be done by editing /etc/ssh/sshd_config and changing the option of PermitRootLogin from no to yes. Don&#8217;t forget to restart sshd so that it reads the modified config file. Do this only if you want to use the root login.</p>
<p><strong>Putty using Windows:</strong></p>
<p>If you are trying using windows, you can use puttygen to generate public/private keys and do the configuration in putty as in image below to connect to other server&#8230;</p>
<p>&nbsp;</p>
<p>PIC TO BE UPLOADED&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Reference.</strong><br />
<a href="http://www.thegeekstuff.com/2008/10/perform-ssh-and-scp-without-password-from-ssh2-to-openssh/" rel="nofollow">http://www.thegeekstuff.com/2008/10/perform-ssh-and-scp-without-password-from-ssh2-to-openssh/</a><br />
<a href="http://blogs.oracle.com/jkini/entry/how_to_scp_scp_and" rel="nofollow">http://blogs.oracle.com/jkini/entry/how_to_scp_scp_and</a><br />
<a href="http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/" rel="nofollow">http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/</a><br />
<a href="http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html" rel="nofollow">http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh/">How To scp, ssh and rsync without prompting for password using OpenSSH</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ways to Pass Password in Triggers file or Script file in Perforce</title>
		<link>https://www.scmgalaxy.com/tutorials/ways-to-pass-password-in-triggers-file-or-script-file-in-perforce/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ways-to-pass-password-in-triggers-file-or-script-file-in-perforce/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 06:21:45 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Perforce Triggers]]></category>
		<category><![CDATA[Trigger script]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4575</guid>

					<description><![CDATA[<p>Option 1 If your Perforce server is set to security level 2 or lower you can have your trigger script [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ways-to-pass-password-in-triggers-file-or-script-file-in-perforce/">Ways to Pass Password in Triggers file or Script file in Perforce</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Option 1</strong><br />
If your Perforce server is set to security level 2 or lower you can have your trigger script run as the same user every time (typically a &#8220;background&#8221; user). Then, either have the server&#8217;s P4PASSWD environment variable set to the background user&#8217;s password,</p>
<p><strong>Option 2</strong><br />
You can also use the -P flag to specify the password with the P4 commands issued by the script.</p>
<p><strong>Option 3</strong><br />
You can echo the password and pipe it to the login command. Note that there is no space between the password and the pipe symbol.</p>
<p>echo &lt;password&gt;| p4 login</p>
<p><strong>Option 4</strong><br />
If you do not want to place a password in the script, you can use a text file containing the password. Make sure this password file has appropriate read and write privileges.</p>
<p>p4 login &lt; password.txt</p>
<p><strong>Option 5</strong><br />
A more secure method is to use ticket based authentication and a group to keep a background user &#8220;logged in&#8221; at the Perforce server:</p>
<p>1. Create a group:</p>
<p>p4 group always_on</p>
<p>2. Add your background user to the &#8220;Users&#8221; field.</p>
<p>3. Change the timeout from the default setting (12 hours), which is set in seconds. The new value depends on the server version:</p>
<p># 2008.1 and later: Set this value to &#8220;unlimited&#8221;. A timeout value of zero is no longer accepted.</p>
<p># 2005.1 to 2007.3: Set this value to zero.</p>
<p># 2004.2 and earlier: Set this to a very large value &#8212; but not too large, as some server versions do not handle situations where the timeout is set to exceed the &#8220;Unix Epoch&#8221;, which is approximately in the year 2038. A safe value is 315532800 seconds, which is about 10 years.</p>
<p># Save the group.</p>
<p># In your trigger script, log the background user in and run the trigger once.</p>
<p>echo password| p4 -p server:port -u username login</p>
<p># If the trigger runs properly, you can remove the password line.</p>
<p>The user now remains logged in. Since this is ticket based authentication, they remain logged in even if the server is shut down or the hardware is rebooted.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ways-to-pass-password-in-triggers-file-or-script-file-in-perforce/">Ways to Pass Password in Triggers file or Script file in Perforce</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ways-to-pass-password-in-triggers-file-or-script-file-in-perforce/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Set password for ost file</title>
		<link>https://www.scmgalaxy.com/tutorials/set-password-for-ost-file/</link>
					<comments>https://www.scmgalaxy.com/tutorials/set-password-for-ost-file/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 10:09:04 +0000</pubDate>
				<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[password]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2668</guid>

					<description><![CDATA[<p>scmuser created the topic: set password for ost file How to set password for ost file in Outlook to secure [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/set-password-for-ost-file/">Set password for ost file</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: set password for ost file</strong></p>
<p>How to set password for ost file in Outlook to secure emails?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/set-password-for-ost-file/">Set password for ost file</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/set-password-for-ost-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</title>
		<link>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/</link>
					<comments>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 14 Oct 2015 11:10:37 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Remote machine]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH Login]]></category>
		<category><![CDATA[SSH Login Without Password]]></category>
		<category><![CDATA[ssh-copy-id]]></category>
		<category><![CDATA[ssh-keygen]]></category>
		<category><![CDATA[Steps]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/10/14/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/</guid>

					<description><![CDATA[<p>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id Step 1: Generate the keys &#62; ssh-keygen or &#62; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/">Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="aligncenter wp-image-3069 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password.png" alt="SSH Login Without Password" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/10/ssh-login-without-password-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div><strong>Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</strong></div>
<div></div>
<div><strong>Step 1: Generate the keys</strong></div>
<div>&gt; ssh-keygen</div>
<div>or</div>
<div>&gt; ssh-keygen -t rsa</div>
<div></div>
<div><strong>Step 2: Copy the public key to remote machine</strong></div>
<div>&gt; ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host</div>
<div>or</div>
<div>&gt; ssh-copy-id -i ~/.ssh/id_rsa.pub user@hostname.example.com</div>
<div></div>
<div>Alternatively, you can paste in the keys using SSH:</div>
<div>cat ~/.ssh/id_rsa.pub | ssh user@123.45.56.78 &#8220;mkdir -p ~/.ssh &amp;&amp; cat &gt;&gt;  ~/.ssh/authorized_keys&#8221;</div>
<div></div>
<div><strong>Step 3: Login to remote machine</strong></div>
<div>&gt; ssh remote-host</div>
<div></div>
<div>If you have loaded keys to the ssh-agent using the ssh-add, then ssh-copy-id will get the keys from the ssh-agent to copy to the remote-host. i.e, it copies the keys provided by ssh-add -L command to the remote-host, when you don’t pass option -i to the ssh-copy-id.</div>
<div></div>
<div>&gt; ssh-add</div>
<div>&gt; ssh-add /Users/rajesh.kumar/.ssh/id_rsa</div>
<div></div>
<div><strong>Step 4: Optional Step Four—Disable the Password for Root Login</strong></div>
<div></div>
<div>&gt; sudo nano /etc/ssh/sshd_config</div>
<div>Put the changes into effect:</div>
<div>&gt; reload ssh</div>
<div></div>
<div>Within that file, find the line that includes PermitRootLogin and modify it to ensure that users can only connect with their SSH key:</div>
<div>&gt; PermitRootLogin without-password</div>
<div></div>
<div><strong>More Articles</strong></div>
<div><a href="http://community.scmgalaxy.com/blog/view/40844/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh">http://community.scmgalaxy.com/blog/view/40844/how-to-scp-ssh-and-rsync-without-prompting-for-password-using-openssh</a></div>
<div><a href="http://manpages.ubuntu.com/manpages/lucid/man1/ssh-copy-id.1.html">http://manpages.ubuntu.com/manpages/lucid/man1/ssh-copy-id.1.html</a></div>
<div>
<p><a href="Forum/34-shell-script/501-file-copying-and-transfer-between-two-machine.html">http://www.scmgalaxy.com/Forum/34-shell-script/501-file-copying-and-transfer-between-two-machine.html</a></p>
</div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/">Steps to Perform SSH Login Without Password Using ssh-keygen and ssh-copy-id</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/steps-to-perform-ssh-login-without-password-using-ssh-keygen-and-ssh-copy-id/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Getting root password using Hydra command</title>
		<link>https://www.scmgalaxy.com/tutorials/getting-root-password-using-hydra-command/</link>
					<comments>https://www.scmgalaxy.com/tutorials/getting-root-password-using-hydra-command/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 12 Aug 2015 15:01:26 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Get]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Hydra]]></category>
		<category><![CDATA[Hydra command]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[Root password using hydra command]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/08/12/getting-root-password-using-hydra-command/</guid>

					<description><![CDATA[<p>The post <a href="https://www.scmgalaxy.com/tutorials/getting-root-password-using-hydra-command/">Getting root password using Hydra command</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3450 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/hydra-command.png" alt="hydra-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/hydra-command.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/08/hydra-command-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/getting-root-password-using-hydra-command/">Getting root password using Hydra command</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/getting-root-password-using-hydra-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Access gitlab Password Less in Windows</title>
		<link>https://www.scmgalaxy.com/tutorials/access-gitlab-password-less-in-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/access-gitlab-password-less-in-windows/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 19 May 2014 09:29:08 +0000</pubDate>
				<category><![CDATA[Repository Manager Tools]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[Gitlab]]></category>
		<category><![CDATA[Gitlab Access]]></category>
		<category><![CDATA[Gitlab Guide]]></category>
		<category><![CDATA[Gitlab Tutorial]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Less]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/05/19/access-gitlab-password-less-in-windows/</guid>

					<description><![CDATA[<p>Step 1- Generate a public/private key using puttygen Download a puttygen from  and generate a public key and private key [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/access-gitlab-password-less-in-windows/">Access gitlab Password Less in Windows</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-3723 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/gitlab-password-less-in-win.png" alt="gitlab-password-less-in-windows" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/gitlab-password-less-in-win.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/05/gitlab-password-less-in-win-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>Step 1- Generate a public/private key using puttygen</strong></p>
<ul>
<li>Download a puttygen <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">from</a>  and generate a public key and private key by following below image.</li>
<li>Click on Conversions à Export OpenSSH Key à  and save it to % USERPROFILE %\.ssh with file name “id_rsa”</li>
<li>Copy the public key from puttygen window and save into gitlab.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Step 2-  Add .ssh folder to your command line path </strong><br />
By following command..</p>
<pre>     set HOME=%USERPROFILE%</pre>
<p>or<br />
add into user system variable.<br />
HOME=%USERPROFILE%</p>
<p>And you are good to go. Comment if you face any issues?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/access-gitlab-password-less-in-windows/">Access gitlab Password Less in Windows</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/access-gitlab-password-less-in-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
