How to SSH Login Without a Password on a Linux Server | Linux SSH Tutorial Part-2
ฝัง
- เผยแพร่เมื่อ 11 ก.ย. 2024
- #linux #mprashant #ssh
Hello dosto,
In this video I have covered about SSH in Linux
How you can setup the SSH to login into a Linux server and Accessing a Linux server remotely without any password.
We will going to use below two SSH commands
- ssh-keygen
- ssh-copy-id
===========
SSH or Secure Shell is a
network communication protocol that enables two computers/devices to communicate and share data.
ssh
secure shell
secure shell tutorial
ssh tutorial
what is ssh
secure shell explained
ssh client
linux ssh
ssh secure shell
learn ssh
ssh tutorial linux
linux tutorial
openssh tutorial
beginners guide to ssh
guide to ssh
connecting to remote servers with ssh
learn ssh in
connection with ssh
what is ssh in linux
how to use ssh
how to access remote linux server
access linux server
linux server access with ssh
example of ssh
default port of ssh
u saved my life ; i cant explain y and how but u literally save me ..... God bless u
Glad it helped and thank for the wish😊
Thank you so much sir.. Very helpful in my career
Most welcome!!
Thank You For this wonderful session. Really Liked it
Glad you enjoyed it!
seriously this is so helpful, thanks ;)
Welcome!
very nice explaination. thanks . though i have read it in one webpage i liked video. Is there any video related to proxypass?
Thanks for the feedback!
Great sir very helpful 🙏
Thank you!
very helpful for me
Nice
Hi Brother I tried each and every steps of this tutorial but still asking for password while doing ssh…Pls do the needful…Thanks!
Facing same in here
So Splendid sir
Many many thanks
Sir Mera background account se hai . But mai Linux and AWS Aur Networking complete hai . Mujhe samjh nahi aata hai mai kisme jau .
Practice bhi acha hai . Aapka jitna bhi video Maine dekha Sab mujhe aata hai . Kuchh kuchh chije mere najar se rah gaya tha. Maine aapke channel se different method se khud ko update Kiya. Kaise job switch karu
Great brother 👍🏻
Thanks ✌️
When I am doing it showing pub key gassip key gassip-mic denied
Hi
i am able to do ssh in linux from server1 to server2 but not able to do viceversa ? Even after entering right password showing permission denied.
What should I do to solve it
For vice versa you again need to generate key
try again logging in, still asking for password
when copied key at that time its working fine but when reopen or try in new window still password is required.
Ye sir agar kisi server ka password nahi pata ho ya usne inbound outbound block kar ke rkha hai to humm uske server ko kese connect karege ya data kese replace karege another Server pe
sir server-client k beechme ssh pwdless karneka try kar raha tha par passwd barabar dalke bhi wrong dikha raha hai
but were on a live production server with millions of users
we have strictly prohabited to do any change at all can i do it or not
Keep it up
😀
Awesome bro
Thank you¡
Sir AWS cloud ke bhi questions and answer video banao
thank you broooooo❤❤
Welcome 😊
Sir Please Make the Ansible Video
Sir aapne sshd_conf file me kam kiya hai ????
I would like to understand what happens internally when we connect through ssh. where are all the logs gets store can you please ping me or create a video
You can try watching video on log analysis th-cam.com/video/tA-32BLjrFA/w-d-xo.html
Sir I have a doubt I have only started ssh now. So which password should I put while running the command username@ip? And how can I find the password?
Generally when a admin create a user on Linux server, there should be a password.
as a admin you can set a password for the given user #passwd user_name
I have one more doubt I tried to Access my own device with a Linux vm when I used these commands connection refused so what should I do?
How can I find my windows ssh password?
How can I connect 2 widows pc through ssh when I tried to connect it says connection timed out.
@@MPrashant Sir how can I connect with two windows pc everytime I tried to connect connect refused or timed out.🫥
Can you make videos for Ansible?
Already started working on it, coming soon.
In my end permission denied (public key).. please help me
Could you please explain which key you entered when it asked for one last time?
Because my doubt is we will not be having any password for our aws ec2 instance root user right... so which one i need to enter?
bro i think u cant access any server as root.
try ssh to any sudo user.
What if two systems on different networks
u save me
sir can you tell me how can i set the password again ?
using 'passwd ' command
How can i copy my ssh key to multiple servers in a single command or via bash script? Please help
got any solutions...i need help on same thing too
if i want to do setup for 2 mahnices access one server so that time what to do with ssh for without password
If it is part of internal network so better to use without password
Sir aap ignore karte hai comment mera
Pls humble request pls make video on
1. LVM
2. Iptables
3.MYSQL
Not ignoring but busy schedule ke karn videos ni aa pa rhi, I will try buddy
My friend lives in Japan. He use Linux. I want to access his machine but i can not. Because of the IP address.
Machine need to be exposed to internet in that case.
Ensure SSH is installed and running on your friend's machine.
Set up port forwarding on your friend's router.
Obtain your friend's public IP address.
Configure the firewall to allow SSH traffic.
Secure the SSH server.
Connect using SSH.
I am getting permission denied . not sure how to fix this
Make sure username/password is correct
SSH is running on target server
SSH service is enabled on firewall on target server.
are both public keys same on local and server ?
yes
@@MPrashant bro
First of all we are doing key gen on master but it should be done on slave na
Bcz slave generated key should ke shared and saved under authorised key of master
So whenever next time slave tries to make connections req master can see yes it's a authorised one let him connect with me
Where as we are doing key gen on master and saving his private key in slave authorised why ?
Hope you got my question
@@purveshgosalia8039
Any terminal with SSH utility can generate keys.
you can assume Terminal as slave and Linux server as Master.
Only slave will generate keys.
Public will be shared to master.
The private key remains on the local machine and is never shared.
private key is used to authenticate the current user and terminal.
@@MPrashantfirst of all thanks for quick reply
Just say am I right or not
So I am connecting Ubuntu (slave) to Kali (master)
1) generate key in ubuntu
2 share public to Kali under authorised
3) ssh from ubuntu
This ir correct ?
Hello
Dear sir
How to access Other system by ssh . Actually I got stucked . Plz sir resolve this topic
Hi,
can you provide more details on what are you trying to do? where are you stucked at?
What password should we enter. From Where we get that password?
This password should be provided by the admin or root user
What about ping command?
Still preparing for it,
@@MPrashant okay sir
bhaiya permission denied aa rha dono tariko mey
Maybe firewall issue, ssh service on main server should be allowed to accept connection from outside.
@@MPrashant bhaiya ye permission denied issue ka ek video btayee na
@nabinkumarshaw4474 sure
@@MPrashant I am sticking the whole day today ,actually I learn Jenkins from your video but during this I will stuck
Your videoes on devops are awesome really learning from it bhaiya.and I suggest all my friend to do from your playlist
can anybody explain how to disable this ?
Remove the public key
Clickbait
may I know in which part of video you feel its a clickbait