LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2010, 02:14 PM   #1
bagpussnz
Member
 
Registered: Aug 2003
Posts: 54

Rep: Reputation: 15
sshd access by IP address OR certificate


Hi,
I have a site in India that needs to be accessed by our offices round the world. I have added AllowUsers lines for the static IP's in those offices.

However, we also have a couple of people who travel and don't have static ip's.

Is it possible to enable both AllowUsers for the offices and have certificate access for the others?

Regards,
Ian Collins.
 
Old 09-28-2010, 02:22 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
And by "certificate" you mean private key (as used by sshd(8)'s Pubkey Authentication)?

If so, check this thread and the sshd_config(5) Match directive.

Older versions of OpenSSH do not have Match, though. If that's the case for you, then share the OS / version you're using (along with your OpenSSH version).
 
  


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
Can I hide the ip address and port of my sshd connection? CoffeeKing!!! Linux - Security 7 08-10-2009 02:06 PM
Changing server's IP address kills sshd? weboweb Linux - Software 2 04-07-2009 11:37 PM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
sshd block user access Tux-Slack Linux - Networking 4 01-20-2007 08:32 AM
MDK9.2 /WEBMIN ~certificate already in use after reinstall - can't access now mossy Linux - Software 5 03-12-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:04 PM.

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