<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.qnap.com/mediawiki/index.php?title=How_to_SSH_into_your_QNAP_device&amp;feed=atom&amp;action=history</id>
	<title>How to SSH into your QNAP device - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.qnap.com/mediawiki/index.php?title=How_to_SSH_into_your_QNAP_device&amp;feed=atom&amp;action=history"/>
	<link rel="alternate" type="text/html" href="https://wiki.qnap.com/mediawiki/index.php?title=How_to_SSH_into_your_QNAP_device&amp;action=history"/>
	<updated>2022-09-01T02:24:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.qnap.com/mediawiki/index.php?title=How_to_SSH_into_your_QNAP_device&amp;diff=263&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;To connect to your QNAP device using SSH, do the following:   *Be sure SSH is enabled. In the Administration interface, go to '''Network Services''', then to '''Telnet / S...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.qnap.com/mediawiki/index.php?title=How_to_SSH_into_your_QNAP_device&amp;diff=263&amp;oldid=prev"/>
		<updated>2015-06-18T07:32:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To connect to your QNAP device using &lt;a href=&quot;/mediawiki/index.php?title=SSH&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SSH (page does not exist)&quot;&gt;SSH&lt;/a&gt;, do the following:   *Be sure SSH is enabled. In the Administration interface, go to &amp;#039;&amp;#039;&amp;#039;Network Services&amp;#039;&amp;#039;&amp;#039;, then to &amp;#039;&amp;#039;&amp;#039;Telnet / S...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To connect to your QNAP device using [[SSH]], do the following: &lt;br /&gt;
&lt;br /&gt;
*Be sure SSH is enabled. In the Administration interface, go to '''Network Services''', then to '''Telnet / SSH'''. Be sure the box '''Allow SSH connection''' is checked. Note the port number in the adjacent text box, and change it if desired. If you changed anything, click the '''Apply''' button. &lt;br /&gt;
*From the system which originates the SSH session, use your ssh command as normal. &lt;br /&gt;
*You must ssh in as user ''admin''. By default, the QNAP device refuses ssh connections from any other user ID.&lt;br /&gt;
&lt;br /&gt;
== Modifying SSH configuration  ==&lt;br /&gt;
&lt;br /&gt;
SSH configuration is controlled by the file &amp;lt;tt&amp;gt;/etc/ssh/sshd_config&amp;lt;/tt&amp;gt;. This file has a line: &lt;br /&gt;
&lt;br /&gt;
 AllowUsers admin&lt;br /&gt;
&lt;br /&gt;
and it is that line which limits SSH logins to the user ''admin''. &lt;br /&gt;
&lt;br /&gt;
Unfortunately it isn't easy to change that file. Firstly, changing configuration files like this is an advanced system administrator act, requiring you to log into the command line of the QNAP. There presently (as of August 2010 on the QNAP TS-219P) is no way to modify settings like this in the web admin UI. Secondly, '''sshd_config''' is one of the files which the [[NAS]] overwrites from a saved copy each time it starts up. Thus, if you do modify it, your changes will be lost when the NAS restarts. &lt;br /&gt;
&lt;br /&gt;
If you want to modify the behaviour of [[SSH]], you are best off installing the [[Optware]] package [[OpenSSH]]. As part of this, you will get a new '''sshd_config''' which you can modify. The following articles explain how to do this: &lt;br /&gt;
&lt;br /&gt;
*[[How To Replace SSH Daemon With OpenSSH]] &lt;br /&gt;
*[[Replace ssh]]&lt;br /&gt;
&lt;br /&gt;
[[Category:SSH]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>