Tzafrir Cohen schreef:
While this is not what you asked for, I still prefer scp.
scp can be made much more convinient to use, once you allow tab
completion of remote file names.
scp file.txt u...@remotemachine:/rem
This works if you cna login without a password to u...@remotemachine .
There ar
On Mon, Mar 22, 2010 at 01:02:10AM +0200, Dotan Cohen wrote:
> On 22 March 2010 00:57, Selçuk Mıynat wrote:
> > On Mon, Mar 22, 2010 at 00:52, Dotan Cohen wrote:
> >> I am managing a small embedded device that I SSH into over the LAN. To
> >> run commands, I use KDE Konsole, and to transfer files
On Mon, Mar 22, 2010 at 12:52:36AM +0200, Dotan Cohen wrote:
> I am managing a small embedded device that I SSH into over the LAN. To
> run commands, I use KDE Konsole, and to transfer files I use Konqueror
> and SFTP. I understand that SFTP also runs over SSH, so is there a way
> to send files in
On 10-03-22 15:33:20, Dotan Cohen wrote:
> On 22 March 2010 18:46, Tony Nelson
> wrote:
...
> > p.s. I hate screen.
> >
>
> Why? I actually like it.
Besides having to learn a new set of odd keybindings, I use the
scrollback of a terminal a lot, and entering a mode to do it was not
satisfacto
On 22 March 2010 18:46, Tony Nelson wrote:
> On 10-03-21 18:52:36, Dotan Cohen wrote:
>> I am managing a small embedded device that I SSH into over the LAN.
>> To run commands, I use KDE Konsole, and to transfer files I use
>> Konqueror and SFTP. I understand that SFTP also runs over SSH, so is
>>
>> I can have as many open connections as I want, it's on the LAN. But I
>> would _prefer_ just one terminal window for both commands (SSH) and
>> file transfers.
>
>
> You might like to try this.
>
> 1) Add to ~/.ssh/config
> ControlMaster auto
> ControlPath /tmp/%h%p%r
> (man ssh_config for expla
On 10-03-21 18:52:36, Dotan Cohen wrote:
> I am managing a small embedded device that I SSH into over the LAN.
> To run commands, I use KDE Konsole, and to transfer files I use
> Konqueror and SFTP. I understand that SFTP also runs over SSH, so is
> there a way to send files in Konsole as well?
> I can have as many open connections as I want, it's on the LAN. But I
> would _prefer_ just one terminal window for both commands (SSH) and
> file transfers.
You might like to try this.
1) Add to ~/.ssh/config
ControlMaster auto
ControlPath /tmp/%h%p%r
(man ssh_config for explanation).
2) Fir
>> I can have as many open connections as I want, it's on the LAN. But I
>> would _prefer_ just one terminal window for both commands (SSH) and
>> file transfers.
>
> First of all, I believe the ssh protocol (not necessarily the ssh
> program) already support exactly what you want: logging in and,
> You are getting many responses, so perhaps this idea has already been
> rejected, however --- I use ssh AND sshfs. I get shell access to the
> remote machine with ssh and for file access I mount the portion of the
> remote fs that a want on a local mount point. I know there are a lot
> of machina
>> As others have commented, you can use scp or sftp.
>>
>> However, I can imagine that embedded might not have the
>> sftp service or the scp executable.
>>
>> If that's your case, you can always do:
>>
>> # cat file | ssh remote 'cat > destinaton'
>
> Pardon my replying to myself, but I've
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dotan Cohen wrote:
> I can have as many open connections as I want, it's on the LAN. But I
> would _prefer_ just one terminal window for both commands (SSH) and
> file transfers.
First of all, I believe the ssh protocol (not necessarily the ssh
progra
On 20100322_010210, Dotan Cohen wrote:
> On 22 March 2010 00:57, Selçuk Mıynat wrote:
> > On Mon, Mar 22, 2010 at 00:52, Dotan Cohen wrote:
> >> I am managing a small embedded device that I SSH into over the LAN. To
> >> run commands, I use KDE Konsole, and to transfer files I use Konqueror
> >>
On Sunday 21 March 2010 23:14:32 Andrew Reid wrote:
> On Sunday 21 March 2010 18:52:36 Dotan Cohen wrote:
> > I am managing a small embedded device that I SSH into over the LAN. To
> > run commands, I use KDE Konsole, and to transfer files I use Konqueror
> > and SFTP. I understand that SFTP also r
On Sunday 21 March 2010 18:52:36 Dotan Cohen wrote:
> I am managing a small embedded device that I SSH into over the LAN. To
> run commands, I use KDE Konsole, and to transfer files I use Konqueror
> and SFTP. I understand that SFTP also runs over SSH, so is there a way
> to send files in Konsole a
> Aliases, scripts and passwordless login.
>
I never use them an alias on a remote system because then I will never
remember which have aliases and which do not. I need to keep my
knowledge portable.
I have a bunch of these little critters that I need to configure:
http://en.wikipedia.org/wiki/Dr
On 2010-03-21 19:34, Dotan Cohen wrote:
That could be worded better. I meant that "lls" does not exist in
sftp, but it is something that I've always wanted.
"man ssh" and "man scp" really are your friends!
From machine_a:
$ ssh u...@machine_b ls -aFl /some/remote/dir
No, that's a workarou
Dotan Cohen put forth on 3/21/2010 7:37 PM:
>> http://www.mosix.org/
>>
>
> Thanks, Stan, but I think you missed a few messages in the thread! I
> am looking for an interface to a remote machine that include features
> from both sftp and ssh shell.
Mosix negates those interfaces. All resources a
Stan Hoeppner put forth on 3/21/2010 7:34 PM:
> Dotan Cohen put forth on 3/21/2010 6:47 PM:
>>> Sigh. What exactly are you trying to *accomplish*
>>>
>>
>> Just an example:
>> I want to move a tarball to the machine, unpack it there then edit a
>> file it in. I then want to make that file exec
> http://www.mosix.org/
>
Thanks, Stan, but I think you missed a few messages in the thread! I
am looking for an interface to a remote machine that include features
from both sftp and ssh shell.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
--
To UNSUBSCRIBE, email to debian-user-r
>> That could be worded better. I meant that "lls" does not exist in
>> sftp, but it is something that I've always wanted.
>
> "man ssh" and "man scp" really are your friends!
>
> From machine_a:
> $ ssh u...@machine_b ls -aFl /some/remote/dir
>
No, that's a workaround. I'll have RSI before I g
Dotan Cohen put forth on 3/21/2010 6:47 PM:
>> Sigh. What exactly are you trying to *accomplish*
>>
>
> Just an example:
> I want to move a tarball to the machine, unpack it there then edit a
> file it in. I then want to make that file executable, run it, and
> transfer the output file back t
>> That is what I am doing. But I thought it would be nice to have it all
>> in one session.
>
> http://i-want-a-pony.com/IWantAPony.jpg
>
I know!
But I've actually gotten quite a few ponies by asking, thus this
thread. Certainly I am not the first man to administer a remote
machine with the need
On Mon Mar 22, 2010 at 01:27:22 +0200, Dotan Cohen wrote:
> I had considered fuse, but there is no real advantage. I still need
> two terminal windows open: one for transferring files (sftp) and the
> second for running commands (ssh).
gnu screen. One terminal. Multiple programs.
Steve
--
ht
On 2010-03-21 19:10, Dotan Cohen wrote:
And maybe having a "lls" (local ls) would have been nice too,
something I've always missed from sftp.
That could be worded better. I meant that "lls" does not exist in
sftp, but it is something that I've always wanted.
"man ssh" and "man scp" really a
Dotan Cohen wrote:
Why don't you have two sessions open, one for transferring through
sftp and one vi and whatever else through ssh
That is what I am doing. But I thought it would be nice to have it all
in one session.
http://i-want-a-pony.com/IWantAPony.jpg
--
Eduardo M KALINOWSKI
edua..
> And maybe having a "lls" (local ls) would have been nice too,
> something I've always missed from sftp.
>
That could be worded better. I meant that "lls" does not exist in
sftp, but it is something that I've always wanted.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
Please CC me i
> Always starting from machine_a, where machine_b is the "original" remote
> host.
>
> METHOD A.
> 1. ssh u...@machine_b
> 2. scp -v u...@machine_a:/some/tar/ball .
> 3. untar ...
> 4. chmod u+x
> 5. ./whatever
> 6. scp -v output.txt u...@machine_a:/home/user/.
> 7. exit
>
>
> METHOD B.
> 1. scp -v
On 22 March 2010 01:58, Ustun Kaya wrote:
> still scp:
>
> us...@local>ls
> file.tgz
> us...@local>ssh us...@remote
> us...@remote>scp us...@local:file.tgz .
While this is more cumbersome than "put" I will contend that it works.
Frankly I am surprised that this is the lease cumbersome way, I was
On 2010-03-21 18:47, Dotan Cohen wrote:
Sigh. What exactly are you trying to *accomplish*
Just an example:
I want to move a tarball to the machine, unpack it there then edit a
file it in. I then want to make that file executable, run it, and
transfer the output file back to my localhost.
On Mon, Mar 22, 2010 at 01:25:33AM +0200, Dotan Cohen wrote:
> > Eh? I think you're imposing unneeded self limits.
> >
>
> How so? With scp I can send file to the machine that I'm remotely connected
> to?
Like this:
# On local-machine
ssh
# type type type in remote-machine shell…
scp local-ma
still scp:
us...@local>ls
file.tgz
us...@local>ssh us...@remote
us...@remote>scp us...@local:file.tgz .
us...@remote>ls
file.tgz
us...@remote>tar xzvf file.tgz
us...@remote>"do whatever you want"
us...@remote> scp file.tgz us...@local:
Best,
Ustun
On Sun, Mar 21, 2010 at 4:47 PM, Dotan Cohen wr
> gnu screen. One terminal. Multiple programs.
>
That has no advantage over multiple terminal windows. If I cd in one
of them, the other doesn't cd, for instance.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a
> Sigh. What exactly are you trying to *accomplish*
>
Just an example:
I want to move a tarball to the machine, unpack it there then edit a
file it in. I then want to make that file executable, run it, and
transfer the output file back to my localhost.
--
Dotan Cohen
http://bido.com
http:/
>> How so? With scp I can send file to the machine that I'm remotely
>> connected to?
>
> Of course. It's a *copy* program.
>
For copying to a remote machine. But once I have a shell on that
machine open in my terminal, I'm not able to send commands to my local
machine in that terminal.
>> So t
On 2010-03-21 18:26, Dotan Cohen wrote:
Yes, but then I cannot get a regular shell for vim and such. I need to
both run commands and also transfer files.
That's what scp is for!
How can I get a shell with scp?
Sigh. What exactly are you trying to *accomplish*
--
"History does no
On 2010-03-21 18:28, Dotan Cohen wrote:
well you can ssh to the remote machine first, then scp back to the
localhost from the remote machine, does the trick?
scp is for putting files, not for getting files.
That's just *not* true. It doesn't care whether the source or
destination are remo
On 2010-03-21 18:25, Dotan Cohen wrote:
No, scp is for sending files to a remote machine that the user has yet
to connect to:
Eh? I think you're imposing unneeded self limits.
How so? With scp I can send file to the machine that I'm remotely connected to?
Of course. It's a *copy* program
> sftp is to ftp what ssh is to telnet. You did not have a telnet shell
> in the past when connecting through ftp.
>
I realize that.
> If you can only have one connection and need both shell and transfer
> access, someone suggested sshfs earlier.
>
I can have as many open connections as I want,
> Why don't you have two sessions open, one for transferring through
> sftp and one vi and whatever else through ssh?
>
That is what I am doing. But I thought it would be nice to have it all
in one session.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
Please CC me if you want to be
>> sftp.
> ✈dcl:~$ sftp u...@1.2.3.4
> Connecting to 1.2.3.4...
> u...@1.2.3.4's password:
> sftp> which ls
> Invalid command.
> sftp>
>
> So there, no shell. I need a shell.
sftp is to ftp what ssh is to telnet. You did not have a telnet shell
in the past when connecting through ftp.
If you can
> well you can ssh to the remote machine first, then scp back to the
> localhost from the remote machine, does the trick?
>
scp is for putting files, not for getting files.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> Yes, but then I cannot get a regular shell for vim and such. I need to
>> both run commands and also transfer files.
>>
>
> Well, you can't. But sshfs might help, you mount a remote filesystem
> (accessed via ssh) and use files as in any other filesystem.
>
>
I had considered fuse, but there is
>> Yes, but then I cannot get a regular shell for vim and such. I need to
>> both run commands and also transfer files.
>>
>
> That's what scp is for!
>
How can I get a shell with scp?
--
Dotan Cohen
http://bido.com
http://what-is-what.com
Please CC me if you want to be sure that I read y
>> No, scp is for sending files to a remote machine that the user has yet
>> to connect to:
>
> Eh? I think you're imposing unneeded self limits.
>
How so? With scp I can send file to the machine that I'm remotely connected to?
> sftp.
>
✈dcl:~$ sftp u...@1.2.3.4
Connecting to 1.2.3.4...
u...@
>> The default
>> /etc/ssh/sshd_config
>> has a
>> subsystem sftp ...
>> towards the end of the file, so you should be able to run
>> sftp u...@host
>> and use the above ftp commands.
> Yes, but then I cannot get a regular shell for vim and such. I need to
> both run commands and also transfer fil
well you can ssh to the remote machine first, then scp back to the
localhost from the remote machine, does the trick?
Best,
Ustun
On Sun, Mar 21, 2010 at 4:14 PM, Ron Johnson wrote:
> On 2010-03-21 18:05, Dotan Cohen wrote:
>>>
>>> The default
>>> /etc/ssh/sshd_config
>>> has a
>>> subsystem sft
Dotan Cohen wrote:
Yes, but then I cannot get a regular shell for vim and such. I need to
both run commands and also transfer files.
Well, you can't. But sshfs might help, you mount a remote filesystem
(accessed via ssh) and use files as in any other filesystem.
--
Eduardo M KALINOWSKI
edu
On 2010-03-21 18:05, Dotan Cohen wrote:
The default
/etc/ssh/sshd_config
has a
subsystem sftp ...
towards the end of the file, so you should be able to run
sftp u...@host
and use the above ftp commands.
Yes, but then I cannot get a regular shell for vim and such. I need to
both run commands an
On 2010-03-21 18:02, Dotan Cohen wrote:
On 22 March 2010 00:57, Selçuk Mıynat wrote:
On Mon, Mar 22, 2010 at 00:52, Dotan Cohen wrote:
I am managing a small embedded device that I SSH into over the LAN. To
run commands, I use KDE Konsole, and to transfer files I use Konqueror
and SFTP. I unde
> The default
> /etc/ssh/sshd_config
> has a
> subsystem sftp ...
> towards the end of the file, so you should be able to run
> sftp u...@host
> and use the above ftp commands.
>
Yes, but then I cannot get a regular shell for vim and such. I need to
both run commands and also transfer files.
--
On 22 March 2010 00:57, Selçuk Mıynat wrote:
> On Mon, Mar 22, 2010 at 00:52, Dotan Cohen wrote:
>> I am managing a small embedded device that I SSH into over the LAN. To
>> run commands, I use KDE Konsole, and to transfer files I use Konqueror
>> and SFTP. I understand that SFTP also runs over S
> I am managing a small embedded device that I SSH into over the LAN. To
> run commands, I use KDE Konsole, and to transfer files I use Konqueror
> and SFTP. I understand that SFTP also runs over SSH, so is there a way
> to send files in Konsole as well? I am familiar with the FTP commands
> such a
On Mon, Mar 22, 2010 at 00:52, Dotan Cohen wrote:
> I am managing a small embedded device that I SSH into over the LAN. To
> run commands, I use KDE Konsole, and to transfer files I use Konqueror
> and SFTP. I understand that SFTP also runs over SSH, so is there a way
> to send files in Konsole as
54 matches
Mail list logo