Why has it been removed?
rsh lets you run programs on a remote machine... or can you do that with ssh...?
ssh me@myserver "uname -a; id"
You could use devel/py-fabric to do that (if I correctly understood what you mean)lets you run programs on a remote machine
ssh me@myserver "uname -a; id"
You can use SSH for everything, seriously!What about password?
I tried "me:mypassword@myserver" "ls -al;pwd" but had to enter password...
ls localdir | ssh remotehost1 "cat | sort > /tmp/remotefile"
ssh remotehost1 "ls" | sort > /tmp/localfile
zfs send -Ri zroot@snapshot | ssh remotehost1 "zfs receive zrootbackup"
ssh remotehost1 "ls" | ssh remotehost2 "cat | sort"
If you configure ssh and use ssh-agent, then the password will only be asked once.What about password?
I tried "me:mypassword@myserver" "ls -al;pwd" but had to enter password...
And now, hold on to your hat! My favorite: You can use SSH to mount a remote file system. It's done via sysutils/fusefs-sshfs.
Yeah, for sure anything imaginable can be done with SSH.Reverse sshfs is even nicerI have my data box continually look for me and reverse sshfs mount itself when or wherever I 'appear', whilst all inbound ssh into that data box is blocked.
Is the ssh-agent not for remembering key passwords only? If you login via password authentication the ssh-agent will not store this password.If you configure ssh and use ssh-agent, then the password will only be asked once.
That's inspiring!cli reddit for instance ...
ssh redditbox.us
and/or
ssh sdf.org (have to register for that one).
I have a sub 20MB linux boot that boots to cli/tmux/mc net connected and along with ssh that is quite functional. Within that I have calcurse for calendar, sc-im for spreadsheet, mc serves as file manager and text editor, curl wttr.in/<your town> for local weather ...etc. add cmus for music to that and for poorer areas (low spec PC's/hardware) that are perhaps using dialup (sdf) and its usable. Or for hard of sight ... as textual based is a lot more void of adverts than X/gui.
No, they have to download 15 javascript frameworks and 25 MB of CSS before the page can be rendered. Bah.
You can use SSH for everything, seriously!
- remote shell
- execute commands remotely (simply add the command as parameter at the end)
- transfer files (scp)
- synchronize directories (rsync)
- pipe local output to remote machine and remote output to local machine AND remote output to another remote machine:
- create a secure TCP or UDP tunnel (-R and -L switches)Bash:ls localdir | ssh remotehost1 "cat | sort > /tmp/remotefile" ssh remotehost1 "ls" | sort > /tmp/localfile zfs send -Ri zroot@snapshot | ssh remotehost1 "zfs receive zrootbackup" ssh remotehost1 "ls" | ssh remotehost2 "cat | sort"
- use the remote host as a SOCKS proxy (-D switch)
Also, you can login with:
h
- Public Key Authentication
- Password Authentication
- Host-Based Authentication
- Keyboard Authentication
- Authentication of Servers
SecureBlackbox | Software Components for Data Security, Secure Storage, and Secure Transfer | nsoftware
Software components for Data Protection, Secure Storage, and Secure Transfer. Trusted in high security, mission critical applications for decades.www.secureblackbox.com
So you're definitely not bound to enter a password if you don't want to.
And now, hold on to your hat! My favorite: You can use SSH to mount a remote file system. It's done via sysutils/fusefs-sshfs.
What issues? Post a question and we'll try to help.Well, that's progress for you.
The IT industry has become a job creation program by adding layer after layer of complexity.
BTW I'm also a big fan of midnight commander, but I have issues with it on FreeBSD.
That's quite easy: http://www.linuxproblem.org/art_9.htmlThis is something I haven't yet tackled.
Surely there must be tons of SSH materials. I am humbly parrotting what other people have documented before me.Perhaps you could write a howto on the things you can do with ssh since I'm blissfully unaware of most of these capabilities.
I don't mean to offend you but... 2500+ messages on a FreeBSD forum yet you haven't yet tackled password-less ssh access? That baffles me.This is something I haven't yet tackled.
I don't mean to offend you but... 2500+ messages on a FreeBSD forum yet you haven't yet tackled password-less ssh access? That baffles me.
Don't worry about it. I'm almost 20 years further than you and I'm still learning new things.There's a helluva lot to learn with FreeBSD and I often think I'm just scratching the surface.
There's typically only a few options you need know for 90% of the time. Nobody knows all options and what they do from the top of their head. That's what man pages are for.One 'problem' with FreeBSD is that almost every command seems to have hundreds of options... just look at something like ifconfig() which we all use and see what you can do with it. It would take a lot more than a couple of days, if not months, to master it, or even find out if it is the suitable command for something you want achieve.