java ssh框架 session工厂如何配置连接orcale_【记录】SSH登录远程Oracle数据库的服务器...

参考:ssh oracle@xx.xx.xx.xx -p15022

密码:xxx

和:附件为服务器账号信息,你可以远程到测试服务器,

然后新建一个用户进行切换演练,DMP文件我稍后发你。

inhouse的账号信息:xxx@qq.com

密码:xxx

去尝试:

用ssh连接Oracle数据库所在的测试服务器:

xx.xx.xx.xx

结果尝试多种组合后,均失败:

(1)

端口:22

账号:oracle

密码:xxx

结果:

c0f812f4247ce05caa18b62589336d78.png

(2)

端口:22

账号:xxx@qq.com

密码:xxx

结果:The server has disconnected with an error.  Server message reads:

A protocol error occurred. Change of username or service not allowed: (oracle,ssh-connection) -> (xxx@qq.com,ssh-connection)

e75b2dc161e7c0c00dae386cbe9f4b4a.png

(3)

端口:15022

账号:xx@qq.com

密码:xx

结果:

b2638b826b7566fdfe06b0de6ba7ee57.png

(4)

端口:15022

账号:xx

密码:xxx

结果:The server has disconnected with an error.  Server message reads:

A protocol error occurred. Change of username or service not allowed: (xx@qq.com,ssh-connection) -> (xx,ssh-connection)

5af14b39ed891fce5ad4cabf79c72733.png

(5)

端口:1521

账号:oracle

结果:

Connection closed.

(5)

端口:1521

账号:xx@qq.com

结果:

Connection closed.

(2)

端口:22

账号:xx@qq.com

密码:xxx

结果:

b2638b826b7566fdfe06b0de6ba7ee57.png

搜:

The server has disconnected with an error.  Server message reads: A protocol error occurred. Change of username or service not allowed  ssh-connection  ssh-connection

-》

(7)

结果换用(iTerm的)命令行登录,也还是无法登录:➜  ~ ssh “xx@qq.com”@x.x.x.x

xx@qq.com@x.x.x.x’s password:

Permission denied, please try again.

a0337ddf2e1c1a7421f438e4a704e2bf.png

-》

但是我此处,早就确认过了:

就是用的正常的用户名:

4796a1760f1a779aea502335649f6fd7.png

关于如何操作,后来别人回复我的:测试环境中的数据库,我们链接的用户是xxx 密码是xxx

这是我导入的命令,一条一条执行的

impdp ‘user/“xxx"’ dumpfile=pcustomer.dmp logfile=pcustomer.log

impdp ‘user/“xxx"’ dumpfile=intent.dmp logfile=intent.log

impdp ‘user/“xxx"’ dumpfile=follow.dmp logfile=follow.log

impdp ‘user/“xxx"’ dumpfile=success.dmp logfile=success.log

impdp ‘user/“xxx"’ dumpfile=lose.dmp  logfile=lose.log

关于ssh连接测试服务器的用户名和密码,正在找另外一人去咨询

最后用:ssh xxx@x.x.x.x -p14022

加上密码:yyyy

登录进去了:

eab0c70eb69ef0506e4fcfa8312eebab.png

ssh zzz@x.x.x.x.x -p15022

pppppp

以及:

密码里第二位,注意是字母O

-》

ssh oracle@x.x.x.x -p15022

ppppp

4003c118036b0aea3060c23c31f8900a.png

【总结】

最后终于登录进去了

-》excel中一个错误的密码,耽误了几天。。。

-〉真是,如果人做事情不靠谱,耽误别人多少时间啊

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值