LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-25-2013, 07:36 AM   #1
packetstormer
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Odd SSH Tunnel Only problem (authorized_keys restrictions)


Hello,
I am trying to configure a small embedded device, running Dropbear, to allow SSH key authentication while only allow tunnelling through that connection. I have been reading the authorized_keys manual and it seems I should be able to do something like this in the user's authorized_keys files:

no-pty,no-X11-forwarding,permitopen="localhost:25",command="/bin/false" ssh-rsa .........

However, as soon as I do this the connecting client cannot connect anymore with the error "Permission denied (publickey)". The permissions on the authorized_keys file is still correct. Removing the restrictions from the authorized_keys file allows the client to connect again, although they have shell access. Am I being silly here, is there another step I am missing!?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Difference between .ssh/known_hosts and .ssh/authorized_keys shivaa Linux - Newbie 7 10-30-2012 12:54 PM
[SOLVED] IPsec - tunnel restrictions and users lucorlis Linux - Networking 1 06-22-2011 01:47 PM
ssh tunnel username with restrictions InvRa Linux - Newbie 1 03-25-2011 12:37 PM
[SOLVED] Firewall restrictions on sock5 tunnel forwarding (through ssh) investor_me Linux - Networking 3 09-09-2009 07:29 PM
Problem with ssh and authorized_keys... gruell Linux - Security 5 02-01-2006 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration