440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
how   {key13}


Deny SSH access while allowing SFTP access

MacOsxHints

Friday November 23, 2007. 05:30 PM
MacOsxHints

I was finally able to figure out how to disable SSH access to a user account, but still allow SFTP to occur. Edit /etc/sshd_config, and add this section:Match User sftponly AllowTcpForwarding no X11Forwarding no ForceCommand /usr/libexec/sftp-server -l INFO Replace sftponly with your short user name, then save the file and quit the editor.[robg adds: You'll probably have to restart Remote Login in the Sharing panel to make these changes take effect, but I'm not sure of that, as I haven't tested this hint. It's categorized as an OS X Server hint, but I have no reason to think it wouldn't work in Client as well.]
finally able figure disable access user account still allow SFTP Deny access while allowing SFTP access
Deny SSH access while allowing SFTP access Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/189382727/article.php

 

 Related News 
10.5: Access Saved Searches from the Open dialog 10.5: Access Saved Searches from the Open dialog
 MacOsxHints 12/03/07 05 PM 
Verizon confirms 4G access, to share with AT&T Verizon confirms 4G access, to share with AT&T
 MacNN 11/29/07 05 PM 
Apple to halt Boot Camp access for non-Leopard users Apple to halt Boot Camp access for non-Leopard users
 AppleInsider 11/28/07 11 PM 
Access more Exposé functions from the slim keyboard Access more Exposé functions from the slim keyboard
 MacOsxHints 11/28/07 05 PM 
Verizon promises open device, software access Verizon promises open device, software access
 MacNN 11/27/07 03 PM 
Orange 'dramatically increases' UK hotspot access Orange 'dramatically increases' UK hotspot access
 Macworld UK 11/23/07 11 AM 
News: iGet Mobile enables remote Mac access from iPhone, iPod... News: iGet Mobile enables remote Mac access from iPhone, iPod...
 iPod Lounge 11/19/07 03 PM 
iGet Mobile 1.0 Enables Remote Mac Access From iPhone and iPo... iGet Mobile 1.0 Enables Remote Mac Access From iPhone and iPo...
 AppleLinks 11/15/07 08 AM 
iGet Mobile enables remote Mac access from iPhone, more iGet Mobile enables remote Mac access from iPhone, more
 Mac Minute 11/13/07 06 PM 
iGet Mobile 1.0 enables remote Mac access from iPhone, iPod t... iGet Mobile 1.0 enables remote Mac access from iPhone, iPod t...
 Mac Daily News 11/13/07 05 PM 
Avaya to offer secure Apple iPhone access to corporate teleph... Avaya to offer secure Apple iPhone access to corporate teleph...
 Mac Daily News 11/13/07 03 PM 
Remote Mac access using your iPhone: iGet mobile Remote Mac access using your iPhone: iGet mobile
 MacNN 11/13/07 03 PM 
iPhone users get Mac remote access iPhone users get Mac remote access
 Macworld UK 11/13/07 01 PM 
10.5: Keychain access after 10.5 archive/install 10.5: Keychain access after 10.5 archive/install
 MacOsxHints 11/10/07 12 AM 
ReaddleUp lets Mac users to access documents on the iPhone ReaddleUp lets Mac users to access documents on the iPhone
 AppleLinks 11/07/07 08 AM 
iPodObserver - Visto Announces Availability of Corp. Access f... iPodObserver - Visto Announces Availability of Corp. Access f...
 TheMacObserver 11/06/07 08 PM 
10.5: Easy Screen Sharing access via URL shortcuts 10.5: Easy Screen Sharing access via URL shortcuts
 MacOsxHints 11/06/07 01 AM 
AppGate Now Supports Mac OS X “Leopard” for Unifi... AppGate Now Supports Mac OS X “Leopard” for Unifi...
 AppleLinks 11/02/07 07 AM 
Stock mkt tool SASS 1.4 adds Internet access, more Stock mkt tool SASS 1.4 adds Internet access, more
 Mac Central 11/01/07 09 PM 
10.5: Access advanced SMB printer setup options 10.5: Access advanced SMB printer setup options
 MacOsxHints 10/31/07 04 PM 
WeBot adds Mac support to media access service WeBot adds Mac support to media access service
 Mac Minute 10/31/07 02 PM 

Search

Mac Zicos
Mon October 13, 07:36 AM
how   {key13}