যদি আমি পাবলিক কী দিয়ে এসএসএইচ ব্যবহার করি, তা কি আমার ব্যবহারকারীর অ্যাকাউন্টের পাসওয়ার্ড মেয়াদ শেষ হয়ে যাবে?


5

তাই যদি আমি একটি ইউনিক্স বক্সে সংযোগ করার জন্য সর্বজনীন / ব্যক্তিগত কীগুলির সাথে SSH ব্যবহার করছি, এবং সেই বাক্সে আমার ব্যবহারকারী অ্যাকাউন্টের পাসওয়ার্ড মেয়াদ শেষ হয়ে যায় তবেও কি আমি সংযোগ করতে সক্ষম হব?

উত্তর:


2

হ্যাঁ, আপনি "সংযোগ" করতে পারেন, তবে অন্তত উবুন্টু বিতরণগুলিতে আপনার পাসওয়ার্ড পরিবর্তন করতে হবে। কিছু সার্ভার ভিন্নভাবে আচরণ করবে।

debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred gssapi-keyex,gssapi-with-mic,gssapi,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/testsftpuser/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey
debug2: we sent a publickey packet, wait for reply
debug3: Wrote 656 bytes for a total of 1799
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open

আপনার পাসওয়ার্ড পরিবর্তন না হওয়া পর্যন্ত কোনও অ্যাক্সেস দেওয়া হবে না:

You are required to change your password immediately (password aged)
Linux devftp01 2.6.66-38-server #43-Ubuntu SMP Thu Sep 16 16:05:42 UTC 2010 x86_64     GNU/Linux
Ubuntu 12.04.4 LTS
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for testsftpuser.
(current) UNIX password:


0
  1. পাসওয়ার্ড লক বা মেয়াদ শেষ হয়ে গেলে, root একটি রাখুন! পাসওয়ার্ড আগে সাইন ইন করুন & amp; যখন ব্যবহারকারী লগ ইন করার চেষ্টা করে। তার হ্যাশেড দেওয়া পাসওয়ার্ড তার পাসওয়ার্ড দিয়ে মেলে না কারণ একটি! পাসওয়ার্ড মেলে না আগে।

  2. রুট ব্যবহারকারী আনলক করার সময় মুছে ফেলা হবে! পাসওয়ার্ড আগে সাইন ইন করুন যাতে পাসওয়ার্ড এন্ট্রি মিলিত হয় & amp; ব্যবহারকারী লগইন করতে পারবেন।

এখন আপনার পরিস্থিতি বিবেচনা।

  • ব্যবহারকারী লক বা মেয়াদ শেষ হয়
  • পাসওয়ার্ড সরবরাহকারী পাসওয়ার্ড পাসওয়ার্ড সাথে মেলে না, কারণ ব্যবহারকারী টার্মিনাল সঙ্গে লগইন এবং ব্লক করার চেষ্টা করে।
  • যখন সে ssh-keys দিয়ে লগইন করার চেষ্টা করে। এটা IM লগ।
<snip>
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: atolani@atolani.csb
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug3: Wrote 528 bytes for a total of 1637
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: /home/atolani/.ssh/identity
debug3: no such identity: /home/atolani/.ssh/identity
debug1: Trying private key: /home/atolani/.ssh/id_rsa
debug3: no such identity: /home/atolani/.ssh/id_rsa
debug1: Trying private key: /home/atolani/.ssh/id_dsa
debug3: no such identity: /home/atolani/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
</snip>

Ssh লগইন এর verbose আউটপুট দেওয়া হয়।

এর মাধ্যমে আমরা দেখতে পারি যে, এসএসএস লগইন প্রাথমিকভাবে পরিচয় গোপন কীগুলি পরীক্ষা করার চেষ্টা করে & amp; অনুপলব্ধ উপরে যখন ইন্টারেক্টিভ পাসওয়ার্ড সরানো। এটি দেখায় যে ssh-keys ব্যবহারকারী ব্যবহার করে লগ-ইন করার সময় পাসওয়ার্ডটি পরীক্ষা করে না তাই পাসওয়ার্ডটি লক করা আছে কিনা তা যাচাই করতে অক্ষম।

তাই হ্যাঁ, যদি আপনার পাসওয়ার্ড মেয়াদ শেষ হয়ে যায় অথবা লক থাকে তবে পাসওয়ার্ড কী কনফিগার করা থাকলে আপনি লগইন করতে পারবেন।

আমাদের সাইট ব্যবহার করে, আপনি স্বীকার করেছেন যে আপনি আমাদের কুকি নীতি এবং গোপনীয়তা নীতিটি পড়েছেন এবং বুঝতে পেরেছেন ।
Licensed under cc by-sa 3.0 with attribution required.