Re: [O] Connect to the ssh and execute any command

2013-09-17 Thread Michael Albinus
Andrey Tykhonov writes: > Hi Michael! Hi Andrey, >> Your remote host does not find a proper "id" command. What happens, if >> you call the following commands in a shell on that remote host: >> >> # id -u > > id: Command not found. > >> # whereis id > > whereis: Command not found. > > I also di

Re: [O] Connect to the ssh and execute any command

2013-09-17 Thread Andrey Tykhonov
On Tue, Sep 17, 2013 at 08:54:51AM +0200, Michael Albinus wrote: > Andrey Tykhonov writes: > > Hi Andrey, Hi Michael! > > >> Tramp does not use FUSE for ssh connections. Please show an example > >> connection to the remote host, and how it fails. > > > Here I try to "ls -la" and get the follo

Re: [O] Connect to the ssh and execute any command

2013-09-16 Thread Michael Albinus
Andrey Tykhonov writes: Hi Andrey, >> Tramp does not use FUSE for ssh connections. Please show an example >> connection to the remote host, and how it fails. > Here I try to "ls -la" and get the following error: > > Couldn't find a POSIX `id' command Your remote host does not find a proper

Re: [O] Connect to the ssh and execute any command

2013-09-16 Thread Andrey Tykhonov
On Fri, Sep 13, 2013 at 08:45:02AM +0200, Michael Albinus wrote: > Andrey Tykhonov writes: > > [Cc to tramp-de...@gnu.org, because I want to help with Tramp config] > > > Hi all! > > Hi Andrey, > > > During last several days I was trying to implement quite simple script > > which: > > > > 1. C

Re: [O] Connect to the ssh and execute any command

2013-09-13 Thread Suvayu Ali
Hi Andrey, I think you will have better luck on the list. Cheers, -- Suvayu Open source is the future. It sets us free.

Re: [O] Connect to the ssh and execute any command

2013-09-12 Thread Michael Albinus
Andrey Tykhonov writes: [Cc to tramp-de...@gnu.org, because I want to help with Tramp config] > Hi all! Hi Andrey, > During last several days I was trying to implement quite simple script > which: > > 1. Creates new buffer with the shell (M-x shell) > 2. Executes there "ssh usern...@domain.com

Re: [O] Connect to the ssh and execute any command

2013-09-12 Thread Eric Schulte
If you want an Org-mode solution, you could do the following. #+begin_src sh :dir /ssh:usern...@domain.org: ls -la #+end_src Andrey Tykhonov writes: > Hi all! > > During last several days I was trying to implement quite simple script > which: > > 1. Creates new buffer with the she

Re: [O] Connect to the ssh and execute any command

2013-09-12 Thread Eduardo Ochs
Hi Andrey, you can use eev - take a look at the demo that starts at 0:18 in this video here: http://www.youtube.com/watch?v=Lj_zKC5BR64 http://angg.twu.net/eev-videos/video4-eepitch.mp4 There are many things that I do in the server that hosts my home page by using this to set up a connection

[O] Connect to the ssh and execute any command

2013-09-12 Thread Andrey Tykhonov
Hi all! During last several days I was trying to implement quite simple script which: 1. Creates new buffer with the shell (M-x shell) 2. Executes there "ssh usern...@domain.com". As result -- the password prompt appears in the minibuffer. I manually input password. 3. Then script executes any co