Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does Putty SSH for opc user use different key than oracle user?

Skip - AbsoluteNov 11 2016 — edited Dec 1 2016

I am able to connect to Oracle Cloud server with Putty as oracle user, but not as opc user.  Six weeks ago I was able to connect OK as opc.  I'm not aware of any environment changes.

Same situation using WinSCP, oracle works, opc is refused.

Please let me know if you have any suggestions for connecting as opc so I can then get a root access session.

Thanks,

Skip

Here are the event logs for oracle, then for opc:

Putty - oracle good connection

2016-11-11 13:14:02 Looking up host "129.152.157.142"

2016-11-11 13:14:02 Connecting to 129.152.157.142 port 22

2016-11-11 13:14:02 We claim version: SSH-2.0-PuTTY_Release_0.67

2016-11-11 13:14:02 Server version: SSH-2.0-OpenSSH_5.3

2016-11-11 13:14:02 We believe remote version has SSH-2 channel request bug

2016-11-11 13:14:02 Using SSH protocol version 2

2016-11-11 13:14:02 Doing Diffie-Hellman group exchange

2016-11-11 13:14:02 Doing Diffie-Hellman key exchange with hash SHA-256

2016-11-11 13:14:02 Host key fingerprint is:

2016-11-11 13:14:02 ssh-rsa 2048 b5:d4:8b:c2:d2:43:85:7a:4a:a3:e4:7f:64:17:b8:ba

2016-11-11 13:14:02 Initialised AES-256 SDCTR client->server encryption

2016-11-11 13:14:02 Initialised HMAC-SHA-256 client->server MAC algorithm

2016-11-11 13:14:02 Initialised AES-256 SDCTR server->client encryption

2016-11-11 13:14:02 Initialised HMAC-SHA-256 server->client MAC algorithm

2016-11-11 13:14:02 Reading private key file "D:\Google Drive\Absolute Tech - Google Drive\Oracle Cloud\rsa-key-20160420 Absolute Tech for Oracle Cloud.ppk"

2016-11-11 13:14:02 Writing new session log (ASCII mode) to file: D:\Google Drive\Absolute Tech - Google Drive\Oracle Cloud\OC putty_129.152.157.142_111111_131402.log

2016-11-11 13:14:02 Offered public key

2016-11-11 13:14:03 Offer of public key accepted

2016-11-11 13:14:09 Sent public key signature

2016-11-11 13:14:09 Access granted

2016-11-11 13:14:09 Opening session as main channel

2016-11-11 13:14:09 Opened main channel

2016-11-11 13:14:10 Allocated pty (ospeed 38400bps, ispeed 38400bps)

2016-11-11 13:14:10 Started a shell/command

Putty - opc failed connection

2016-11-11 13:10:44 Looking up host "129.152.157.142"

2016-11-11 13:10:44 Connecting to 129.152.157.142 port 22

2016-11-11 13:10:44 We claim version: SSH-2.0-PuTTY_Release_0.67

2016-11-11 13:10:44 Server version: SSH-2.0-OpenSSH_5.3

2016-11-11 13:10:44 We believe remote version has SSH-2 channel request bug

2016-11-11 13:10:44 Using SSH protocol version 2

2016-11-11 13:10:44 Doing Diffie-Hellman group exchange

2016-11-11 13:10:45 Doing Diffie-Hellman key exchange with hash SHA-256

2016-11-11 13:10:45 Host key fingerprint is:

2016-11-11 13:10:45 ssh-rsa 2048 b5:d4:8b:c2:d2:43:85:7a:4a:a3:e4:7f:64:17:b8:ba

2016-11-11 13:10:45 Initialised AES-256 SDCTR client->server encryption

2016-11-11 13:10:45 Initialised HMAC-SHA-256 client->server MAC algorithm

2016-11-11 13:10:45 Initialised AES-256 SDCTR server->client encryption

2016-11-11 13:10:45 Initialised HMAC-SHA-256 server->client MAC algorithm

2016-11-11 13:10:45 Reading private key file "D:\Google Drive\Absolute Tech - Google Drive\Oracle Cloud\rsa-key-20160420 Absolute Tech for Oracle Cloud.ppk"

2016-11-11 13:10:45 Writing new session log (ASCII mode) to file: D:\Google Drive\Absolute Tech - Google Drive\Oracle Cloud\OC putty_2016-11-11_131045.log

2016-11-11 13:10:45 Offered public key

2016-11-11 13:10:45 Server refused our key

2016-11-11 13:10:45 Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

This post has been answered by Hemant K Chitale on Nov 17 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2016
Added on Nov 11 2016
4 comments
1,925 views