<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Privilege Level for SCP in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180322#M438132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mynul. Actually "nvram" and "scp" are not valid commands\parameters and cannot be used with the "privilege" command.&lt;/P&gt;&lt;P&gt;I would open a TAC case for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards \\ Naman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2003 15:16:14 GMT</pubDate>
    <dc:creator>mnlatif</dc:creator>
    <dc:date>2003-05-28T15:16:14Z</dc:date>
    <item>
      <title>Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180316#M438122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to allow a user to upload\download files remotely to\from a Cisco Router using Secure Copy (SCP) and SSH.&lt;/P&gt;&lt;P&gt;However it doesn't work unless i give the user a Privilege level of 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know, if this can work with a Custom Privilege Level ? What commands should i include in that Privilege level ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards \\ Naman&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 14:18:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180316#M438122</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2019-03-10T14:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180317#M438123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your description, looks like you want to do it locally on the router. I haven't tested this but I think it  will work.  Basically, with priv-level 2-14, you can go to the exec mode, which is the minimum requirement for scp to work.  Now, "copy" command is a priv-level 15 command.  So, you need to bring that command down to level 2-14 level.  So, if you can accomplish that then it will work.  So, here is what it requires for the user configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Username admin7 priv 7 pass admin7 &lt;/P&gt;&lt;P&gt;privilege exec level 7 copy&lt;/P&gt;&lt;P&gt;privilege exec level 7 scp    &amp;lt;--This may not be needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a great doc on SCP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087b18.html#1023544" target="_blank"&gt;http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087b18.html#1023544&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps !  Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mynul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2003 19:20:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180317#M438123</guid>
      <dc:creator>mhoda</dc:creator>
      <dc:date>2003-05-26T19:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180318#M438125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mynul,&lt;/P&gt;&lt;P&gt;Thanks for the info. However my problem wasa bit different, what i want is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To have a User remotely "Pull" the config FROM the router using SCP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. Use SCP from a LINUX box to download the Router config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works if i use a username that has Privilege 15, however it doesn't work with any other privilege level (i also tried your suggestion but it didn't work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards \\ Naman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2003 16:18:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180318#M438125</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2003-05-27T16:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180319#M438127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Naman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can provide me the commands thats getting executed on the router when you pull the config on Linux box, I can help defining the user.  Did you try to put the "pull" along with "copy" in your customised priv level to see if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mynul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2003 16:50:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180319#M438127</guid>
      <dc:creator>mhoda</dc:creator>
      <dc:date>2003-05-27T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180320#M438129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mynul,&lt;/P&gt;&lt;P&gt;I don't know, how i can see the commands being executed on the router. "Debug ip ssh" trace looks exactly the similar for Working\Non-Working scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Linux Box, below is the working scenario &lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[nlatif@naman nlatif]$ scp scp1@naman-router:nvram:startup-config naman.readme&lt;/P&gt;&lt;P&gt;scp1@naman-router's password: &lt;/P&gt;&lt;P&gt;startup-config       100% |**********************************|  6081       00:00   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the Non-Working Scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;[nlatif@naman nlatif]$ scp scp@naman-router:nvram:startup-config naman.readme&lt;/P&gt;&lt;P&gt;scp@naman-router's password: &lt;/P&gt;&lt;P&gt;Privilege denied.&lt;/P&gt;&lt;P&gt;+++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relevant router config is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;aaa authentication login default local&lt;/P&gt;&lt;P&gt;aaa authorization exec default local &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;username scp1 privilege 15 secret 5 xxxxxxxx&lt;/P&gt;&lt;P&gt;username scp privilege 5 secret 5 xxxxxxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privilege exec level 5 copy&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if i login to the router using "scp", i can Upload a config from the router to the Linux box using SCP. Its only that remote download doesn't work for a user with a lower privilege level than 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2003 18:40:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180320#M438129</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2003-05-27T18:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180321#M438131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only other suggestion I can provide is to add the following into the config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privilege exec level 5 nvram&lt;/P&gt;&lt;P&gt;privilege exec level 5 scp&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Along with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privilege exec level 5 copy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work, then I guess the best would be contact TAC to open up an enhancement request as it appears that machines are directly talking to the scp server without executing any commands on exec mode.  Otherwise, with the above lines it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mynul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2003 05:05:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180321#M438131</guid>
      <dc:creator>mhoda</dc:creator>
      <dc:date>2003-05-28T05:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180322#M438132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mynul. Actually "nvram" and "scp" are not valid commands\parameters and cannot be used with the "privilege" command.&lt;/P&gt;&lt;P&gt;I would open a TAC case for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards \\ Naman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2003 15:16:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/180322#M438132</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2003-05-28T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/4606829#M574634</link>
      <description>&lt;P&gt;Dear mnlatif,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to resurrect this old topic but i facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it solved for you ? Or do you opened a tac case ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 12:15:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/4606829#M574634</guid>
      <dc:creator>bendeguz.kovacs1</dc:creator>
      <dc:date>2022-05-09T12:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Privilege Level for SCP</title>
      <link>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/5136340#M590262</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you found a solution, I'm also facing the exact same issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;CT.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 12:44:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/privilege-level-for-scp/m-p/5136340#M590262</guid>
      <dc:creator>Cedric T.</dc:creator>
      <dc:date>2024-06-26T12:44:10Z</dc:date>
    </item>
  </channel>
</rss>

