@wwiras it looks like your machine at 10.23.215.77 has had its host key regenerated, and your system is still showing the old one. If you go into that known_hosts file and delete the 11th line (which should be the one referencing the machine with the problem) you should be good to go.
I'm running Ubuntu server 11.04 and when I put in 'sudo /etc/init.d/ssh restart' I'm told to use 'service ssh restart', which doesn't work. It still works using 'sudo /etc/init.d/ssh restart' but it gives out some warnings. What should I do to get 'service ssh restart' working?
@spikemp I think they'd prefer that you use "service" to start it instead of directly accessing the service itself. but if you run "service ssh start" you should probably run "sudo service ssh start" instead.
Awesome, btw i can connect to my ipod touch just fine, but i cant connect to my linux mint netbook from my ipod touch with OpenSSH installed, keeps saying that my pass is incorrect? Any advice
OK... I have desktop and laptop, desktop with ubuntu 10.04, laptop with 10.10. session on laptop is x@xlt, on desktop is rimen@xhome.
I guess this is my command: ssh -XC rimen@xlt x2x -west -to :0.0
I get this message: ssh: Could not resolve hostname xlt: Name or service not known. Both are connected to DSL router, desktop is via UTP while laptop is via WiFi, they work nicely over LAN with Giver for example, so I think this ssh thing should work too. What am I missing here ???
I am in the middle of setting up a headless home print and file sharing server. So thank you for these videos. It will help me connecting remotely to the server.
@razaccour thanks. The Ubuntu setup is in a virtual machine, and I only turn it on to make some tutorials that are Ubuntu-based. :)
On my Arch system, I've just got the lower panel, because my screen is large enough that I can put everything I want on one panel. I tried Docky for a while, and I just didn't care for it. Thanks though!
also, i recommend '$ sudo service ssh(d) restart' instead of using the init script, because ubuntu is (sadly) transitioning to using upstart, and the init.d directory might go away a few releases down the line.
@bamdadkhan you know, I was going to suggest restarting the service that way, but some distros don't come with "service" by default. Ubuntu didn't for a while, if I remember correctly.
lol, i'm running ftp and ssh on my home server that is connected via dmz to the dark webs. :) i guess i'm asking for it, but i really can't be bothered to set up a vpn just to access my files on the go. :))
@thisweekinlinux Ah, yes. I didn't notice that you had reuploaded it, that comment was meant for the previous upload. Sorry about that and keep up the good work!
I know you're an arch guy, but, it is nice that you are doing this for ubuntu for the help of the masses. ppl on arch should be at a point where they are a lil more self reliant.
I think it is a firewall issue, but I'd like to know about how to block repeated attempts over a certain point of time. Not too long ago I had a person attempting to brute force my ssh. Since then I have implemented mandatory certificates.
@whatnameisavailablee When making tutorials, in a lot of cases it just makes sense to do them on Ubuntu. It's perpetuating a bit of a stereotype, but we do what we can.
In the next SSH tutorial, I'm going to be talking about security. :)
Please could you make a part 3? Thanks.
Techarama 1 day ago
hey you make things simple Thank you.
--Though the part 3 with the talk about security will be pretty interesting, whenever it comes out --
lhtd 2 weeks ago
wow just when i thought i found my ansa and no part 3 when it comeing
MsDjMAC 2 months ago
Woah! You know a lot of commands man!
DARTHZANRUIT 3 months ago
Hi,
If I want to to ssh to the Ubuntu box and from Ubuntu box to another ssh device, would I need to install the open-ssh client?
123456iambelial 4 months ago
Loved your video! thanks for putting them up. Finally, im getting some of this stuff.
krazyfua 6 months ago
Hi! Could please let me know why did I get error below. How do I overcome it?
Add correct host key in /home/wwiras/.ssh/known_hosts to get rid of this message.
Offending key in /home/wwiras/.ssh/known_hosts:11
RSA host key for 10.23.215.77 has changed and you have requested strict checking.
wwiras 7 months ago
@wwiras it looks like your machine at 10.23.215.77 has had its host key regenerated, and your system is still showing the old one. If you go into that known_hosts file and delete the 11th line (which should be the one referencing the machine with the problem) you should be good to go.
thisweekinlinux 7 months ago
Port 1337 and 666 are my favorite ports :)
daeheadshot 7 months ago
I'm ready for part 3, I think.
Dmhalljr 8 months ago in playlist Intro to SSH
Love your videos! Can you also do a Virtual Machine one too? I hope you get your google partner ad back.
savageretard 8 months ago
Where are the other videos? How can I ssh over the net?
benghaith 8 months ago in playlist Intro to SSH
Keep this up! i'm very interested in SSH :)
raket94 9 months ago
I'm running Ubuntu server 11.04 and when I put in 'sudo /etc/init.d/ssh restart' I'm told to use 'service ssh restart', which doesn't work. It still works using 'sudo /etc/init.d/ssh restart' but it gives out some warnings. What should I do to get 'service ssh restart' working?
spikemp 9 months ago
@spikemp I think they'd prefer that you use "service" to start it instead of directly accessing the service itself. but if you run "service ssh start" you should probably run "sudo service ssh start" instead.
thisweekinlinux 9 months ago
@thisweekinlinux Ah thanks, such a simple solution.
spikemp 9 months ago
@spikemp try "sudo service ssh restart"
bomber32 9 months ago
great tute. can you include the steps needed to make sure the server doesnt reopen itself to the outside in the next tute?
iabovu 9 months ago
waiting for part 3? =(
daveswitch22 10 months ago
Awesome, btw i can connect to my ipod touch just fine, but i cant connect to my linux mint netbook from my ipod touch with OpenSSH installed, keeps saying that my pass is incorrect? Any advice
91jmda 10 months ago
Are you going to continue the ssh tutorial?
JaimedotTorres 10 months ago 31
OK... I have desktop and laptop, desktop with ubuntu 10.04, laptop with 10.10. session on laptop is x@xlt, on desktop is rimen@xhome.
I guess this is my command: ssh -XC rimen@xlt x2x -west -to :0.0
I get this message: ssh: Could not resolve hostname xlt: Name or service not known. Both are connected to DSL router, desktop is via UTP while laptop is via WiFi, they work nicely over LAN with Giver for example, so I think this ssh thing should work too. What am I missing here ???
XW0RKS 1 year ago
Fantastic work!! Looking firward to part three!
Regards.
theC75 1 year ago
@thisweekinlinux Any idea when part 3 will be out?
TheFusionIcon 1 year ago 11
@TheFusionIcon I was planning on making it last week, but things got hectic, as usual. :P
thisweekinlinux 1 year ago
@thisweekinlinux 10 months later :) id still like to see part 3 :p
nikolajea 1 month ago 5
Great video! I can't wait for part 3 ;)
freemysoul333 1 year ago
Can you once enlight how exactly you record with zoom and stuff? :) many thanks.
Mathijsweb 1 year ago
@Mathijsweb I use an effect in Kdenlive called "Pan & Zoom". You set keyframes for before and after, and the size you want things to be at each time.
thisweekinlinux 1 year ago
i'm using fedora and i'm pretty sure the firewall is preventing me from connecting to my ssh server.
i'm almost positive that i have to edit iptables to allow ssh connections.
idk if that's within the scope of these tutorials but can you teach us how to do that?
sleepee11 1 year ago
@sleepee11 I can definitely try to do that. Might just end up discussing different methods of opening ports on the firewall.
I seem to remember Fedora coming with a graphical firewall utility, doesn't it?
thisweekinlinux 1 year ago
@thisweekinlinux
yea, it does come with a gui firewall program.. but i'm an idiot and i think i did it wrong lol!
btw, when is the next ssh tut coming?
sleepee11 1 year ago
@sleepee11 I'm hoping to do an SSH tut sometime this week. need to do some prep work and my time is REALLY limited.
thisweekinlinux 1 year ago
These are great. Please do more.
wllcldwll 1 year ago
cool serious, never used ssh b4, until i learn the cr48 had one. gonna try it out. Thanks
gotbletu 1 year ago
great video, I look forward to the next one.
x0fx3 1 year ago
When you change the ssh port as you did at about 5:44 do you also have to manually reconfigure the firewall (ufw)?
mustafaupk 1 year ago
@mustafaupk you know, I didn't have to, and it didn't reconfigure anything. I believe in Ubuntu ufw is really permissive by default.
thisweekinlinux 1 year ago
I am in the middle of setting up a headless home print and file sharing server. So thank you for these videos. It will help me connecting remotely to the server.
mustafaupk 1 year ago
I hate Oracle and unix :(
THEKINGOFEUR0PE 1 year ago
erm....
Digital UNIX V4.0D (Rev. 878); Mon Jan 11 14:52:49 GMT 1999
THEKINGOFEUR0PE 1 year ago
@razaccour thanks. The Ubuntu setup is in a virtual machine, and I only turn it on to make some tutorials that are Ubuntu-based. :)
On my Arch system, I've just got the lower panel, because my screen is large enough that I can put everything I want on one panel. I tried Docky for a while, and I just didn't care for it. Thanks though!
thisweekinlinux 1 year ago
I'm about to install SSH on a 10+ years old Linux machine.... that has turned yellow in colour.
THEKINGOFEUR0PE 1 year ago
@THEKINGOFEUR0PE nice! the terminal is a great way to bring new life into an old machine.
thisweekinlinux 1 year ago
@thisweekinlinux Woo! I'm in
THEKINGOFEUR0PE 1 year ago
also, i recommend '$ sudo service ssh(d) restart' instead of using the init script, because ubuntu is (sadly) transitioning to using upstart, and the init.d directory might go away a few releases down the line.
bamdadkhan 1 year ago
@bamdadkhan you know, I was going to suggest restarting the service that way, but some distros don't come with "service" by default. Ubuntu didn't for a while, if I remember correctly.
thisweekinlinux 1 year ago
lol, i'm running ftp and ssh on my home server that is connected via dmz to the dark webs. :) i guess i'm asking for it, but i really can't be bothered to set up a vpn just to access my files on the go. :))
bamdadkhan 1 year ago
@bamdadkhan as long as you feel safe doing it. :P
thisweekinlinux 1 year ago
hi there. I have a question, what is SSH for?
it allows us to transfer files like any other FTP?
or it's a mechanism to control another PC??
thanks for your answer..
mgedier 1 year ago
@mgedier yes to both. I talked about what it can be used for in part 1 of this series (there's a link to the playlist at the beginning of this video).
You can use it to run commands on remote computers, as if you're sitting right in front of them.
You can use it to transfer files more securely than FTP (please, PLEASE don't use FTP...)
You can use it to forward X-based applications over the network.
You can use it to tunnel ports from one place to another.
And so much more. :)
thisweekinlinux 1 year ago
How does the virtual machine recognise u1010vm does it not need an ip address how does that work DNS locally?
I thought you would have to enter an IP address on your local network?
TheAndroid111000 1 year ago
@TheAndroid111000 I have my virtual machine's network adapter set to "bridged", so it has an IP address in the same range as my desktop.
thisweekinlinux 1 year ago
Thanks a lot! looking forward to next parts on SSH!
supernova58 1 year ago
Comment removed
Kamokow 1 year ago
changing port number - nonsesnce...
better use public key,
and some technique to prevent your computer from ddos..
aisbaa 1 year ago
Hard things made easy. Thank you.
SkyBon0 1 year ago
ssh and Rsync is GODLY! ;)
Linux4UnMe 1 year ago
Nice reupload :) From curiousity... what are you suing for recording desktop and doing editing (zooming etc) ?
evilek 1 year ago
@evilek I recorded the desktop using Kazam screencaster, and edited with Kdenlive. The zooming was done with the "Pan & Zoom" video effect.
thisweekinlinux 1 year ago
Ve3ry nice!
axel1973w 1 year ago
It would be great if you could make the text in your terminals a little bit larger. You can do this in gnome-terminal by holding Ctrl and pressing +.
JockeTF 1 year ago
@JockeTF yes, I know how to make the text larger, thanks. I just rewatched the video at 360p, and the text seems very readable when I zoomed in.
thisweekinlinux 1 year ago
@thisweekinlinux Ah, yes. I didn't notice that you had reuploaded it, that comment was meant for the previous upload. Sorry about that and keep up the good work!
JockeTF 1 year ago
@JockeTF :) not a problem at all.
thisweekinlinux 1 year ago
Great!
I actually lowered my resolution to 800x600 for the tutorial I did, because I felt the text wasnt showing right.
This looked great! Cant wait for the next one!
Donflorgon 1 year ago
@Donflorgon thanks. :) My monitor won't do anything but 1920x1080, so pan & zoom is the best option for me.
thisweekinlinux 1 year ago
great as always man.
could you do an iptables tutorial in the future? or maybe talk about in the next security part.
i know the basics, but i'd really like to understand more about the policies, what i should block and what to accept, etc
MattDurden 1 year ago
@MattDurden I'll probably end up talking about that a bit in the next part.
thisweekinlinux 1 year ago
It's not safe, but I add port 110 to my list for wifi places that don't allow 'odd' port numbers.
arthursucks 1 year ago
I know you're an arch guy, but, it is nice that you are doing this for ubuntu for the help of the masses. ppl on arch should be at a point where they are a lil more self reliant.
I think it is a firewall issue, but I'd like to know about how to block repeated attempts over a certain point of time. Not too long ago I had a person attempting to brute force my ssh. Since then I have implemented mandatory certificates.
whatnameisavailablee 1 year ago
@whatnameisavailablee When making tutorials, in a lot of cases it just makes sense to do them on Ubuntu. It's perpetuating a bit of a stereotype, but we do what we can.
In the next SSH tutorial, I'm going to be talking about security. :)
thisweekinlinux 1 year ago
first, finally, anyway, I find kind of hard to use the command line, but still is way more useful and cleaner when modifying critical stuff
emucosmos 1 year ago