Browse other questions tagged ssh solaris sftp key-authentication or ask your own question. The funny thing is that thissame installation on another server of the same type works. Thnx! 0 Comment Question by:binadmin Facebook Twitter LinkedIn https://www.experts-exchange.com/questions/27269612/ssh-key-issue-on-Solaris-10.htmlcopy Best Solution bybinadmin Issue resolved as follow: Scope: When logging into a Solaris 10 system the default pam configuration forces keyboard interaction Sophos Thawte View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Solaris The Solaris group is a forum where peers share Check This Out
There is no general requirement to keep the entire contents of this directory secret, but the recommended permissions are read/write/execute for the user, and not accessible by others. ~/.ssh/authorized_keys Lists the The State of Converged Infrastructure in 2013 Return Path Email Intelligence Report The SMB of the Future: Start Fast, Then Accelerate Blog Articles Fast Secure GUI Connectivity for Linux and Solaris Try some variations, like ssh serverb (as yourself), etc. DUH!
Anyway to modify read-only file with vi, you must use Code: [esc]:!w I tested ssh key exchange. debug1: fd 7 setting O_NONBLOCK debug1: fd 9 setting O_NONBLOCK debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 16384 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: The default pam module which controls ssh behavior forces keyboard interaction for external accounts. Word for unproportional punishment?
Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux operating commands SSH/RSAAuthentication Problems Solaris I went through the steps of creating a public / private key and making sure the authorized_keys file is not group readable, but it doesnít seem to work. You may have to just regenerate a new keypair and hit only
Also, each entry in authorized_keys must be a single long line, no line breaks in the middle of a key specification. Gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive In the meantime, I'll attempt to generate the key with authorized_keys2. ---------- Post updated at 10:01 AM ---------- Previous update was at 09:11 AM ---------- I've used these instructions. Kitts & Nevis St. Not the answer you're looking for?
However, many patches require that the system be in single-user mode before they can be installed. I haven't been successful in setting up key-based authentication. debug1: session_pty_req: session 0 alloc /dev/pts/1 debug1: server_input_channel_req: channel 0 request shell reply 0 debug1: session_by_channel: session 0 channel 0 debug1: session_input_channel_req: session 0 req shell debug1: Setting controlling tty using Now I know that there is no need to add anything to /etc/hosts.
debug1: ssh_connect: needpriv 0 debug1: Connecting to apc_dev1db1 [192.168.1.44] port 22. More about the author Was this article helpful? [Select Rating] Title GSS-API ssh failure on Solaris 10 Description After configuring sshd for GSS-API, ssh still prompts the user for their password when trying to connect Rhosts Authentication Disabled Originating Port Will Not Be Trusted If you need to reset your password, click here. Solaris Permission Denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). Text Quote Post |Replace Attachment Add link Text to display: Where should this link go?
share|improve this answer answered Oct 15 '11 at 7:14 Jander 9,12422452 add a comment| up vote -1 down vote On the client, type: ssh-keygen -t rsa -b 4096 enter ENTER when http://qaisoftware.com/failed-to/failed-to-acquire-logminer-dictionary-lock.html osor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by osor 06-14-2006, 12:21 PM #8 thronh LQ Newbie Registered: Jan 2006 Posts: I cannot regenerate the keys (since a lot of other servers connect to us) but I'll try to follow (again) the steps. Another script via cron, runs on server2, connects to server 1 and transfers data to it. Ssh-2.0-sun_ssh_1.1.5 Exploit
However, in our case the above was the problem and the solution below resolved the problem. My Solaris boxes all use 755 by default without any ssh problems. –Hangin on in quiet desperation Sep 6 '11 at 6:29 add a comment| up vote 2 down vote accepted Great for personal to-do lists, project milestones, team priorities and launch plans. - Combine task lists, docs, spreadsheets, and chat in one - View and edit from mobile/offline - Cut down http://qaisoftware.com/failed-to/failed-to-acquire-semaphore.html We apologize for the inconvenience.
This site is not affiliated with Linus Torvalds or The Open Group in any way. One more reason to move to Open Source software. :) –Rilindo Sep 7 '11 at 13:25 add a comment| up vote 2 down vote On solaris, you should set the user's Hugo Mokken replied Jul 8, 2009 I have the correct public key installed.
Join Now For immediate help use Live now! Cannot ssh to a server White Papers & Webcasts Simplify and Accelerate Service Delivery with SmartCloud Orchestrator: Cloud Management for your... debug1: Found key in /export/home/
Parking lot supervisor In the beta GUI wallet, what levels of mixin are offered by the sliding Privacy bar? Continue √ó Support Forms Under Maintenance Submitting forms on the support site are temporary unavailable for schedule maintenance. If you don't want to have to enter a pass phrase, your should not specify one when you create your pub/priv key pair. http://qaisoftware.com/failed-to/failed-to-acquire-org-gnome-displaymanager-ubuntu.html debug1: Found key in /home/user/.ssh/known_hosts:1 debug1: bits set: 1566/3191 debug1: ssh_rsa_verify: signature correct debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1:
Message Author Comment by:binadmin ID: 364287512011-08-25 yes..I ran ssh-keygen -t rsa also tried ssh-keygen -t dsa The key was generated and I copied to the user's homedir ~/.ssh file The process Brian King replied Jul 8, 2009 According to the debug logs below, the rsa key is broken on the client side (wrong format), and the dsa key is the one being It looks like: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "my-comment-for-human-convenience"
chmod 700 ~./ssh and chmod 600 ~/.ssh/authorized_keys should work on a Solaris server. –Chad Feller Sep 6 '11 at 4:03 Thank you Quanta. On ServerB, the permissions for make sure that you have the correct permissions as described in the SSH manpage: ~/.ssh/ This directory is the default location for all user-specific con‚Äź figuration Howto Linux / UNIX setup SSH with DSA public key authentication (password less login) Is something missing here? ---------- Post updated at 10:47 AM ---------- Previous update was at 10:01 AM SunOS 5.10 Generic January 2005 [
They can ssh successfully and enter their ldap password no problem with that but when a ssh key is generated somehow it still request password. Join the community Back I agree Powerful tools you need, all for free. Server listening on :: port 24. Join our community today!
In your other window, try to ssh -l mike serverb. Word for unproportional punishment? On server1 I have account with user1 login, on server2 account with user2 login. share|improve this answer answered Sep 7 '11 at 3:47 Rilindo 4,52511941 2 Solaris ships with its own version of SSH (Sun_SSH), which doesn't include ssh-copy-id. –Chad Feller Sep 7 '11