search for: remote_machine

Displaying 20 results from an estimated 21 matches for "remote_machine".

2002 Nov 06
2
scp output redirection doesn't work...
> OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f > AIX 4.3.3.0 Maintenance Level 10. > > I have run a test on my boxes and found the following: > > > scp test <remote_machine>:~/test > test 100% |*****************************| 16000 > 00:00 > > > > scp works fine, but when I tried to redirect stdio/stderr to files they > are empty! :( > > scp test <remote_machine>:~/test 1>stdio.out 2>stderr.out > > ls -l...
2010 Jul 07
0
scp forces original access permissions when owner lacks write access
...ermissions specified by the filesystem. If the owner did not have write access then scp performs a chmod command after copying the data so that the copied file ends up with the original permissions. For example if I have mounted /samba_share which masks new file permissions with 440 on the machine remote_machine: $ touch testfile1 testfile2 $ chmod u-w testfile2 $ ls -l -rw-r--r-- 1 someuser somegroup 0 Jul 6 18:04 testfile1 -r--r--r-- 1 someuser somegroup 0 Jul 6 18:04 testfile2 $ scp testfile* remote_machine:/samba_share $ ssh remote_machine 'ls -l /samba_share' -r--r----- 1 someuser somegroup 0...
2020 Nov 12
3
run firefox via an ssh tunnel
If the point is to access a specific web site only the remote machine can get to, you can also do it with port forwarding: ssh -L 8000:ip_of_web_site_to_access_from_remote:443 remote_machine and then locally run any browser, and access https://localhost:443 (assuming it's https. If it's plain http, use "http" and 80). Note that you'll be breaking some aspects of https security such as man-in-the-middle protection and perhaps others, and you'll need to accept...
2002 Mar 14
2
Serving Samba through a Firewall
All I am looking to serve a SAMBA filesystems to client at the other side of a firewall, does anyone know what ports/services, need to be opened just to deliver the filesystem. The client will initiate the connection and hopefully use TCP, not UDP ( is that possible) Regards Stuart
2001 Jun 15
2
openssh 2.9p1: data loss when stdout sent to a pipe
We recently tried upgrading openssh from 2.5.2p2 to 2.9p1 and discovered that it no longer worked to feed the output from a remote command into a pipe, unless the output was short and the pipe was very fast at processing its input. Example 1: ssh remote_machine some_command | less (where "some_command" generates a lot of output) now fails after the first screenful, with a "Write failed flushing stdout buffer" message. Example 2: ssh remote_machine 'yes | head -2000' | (sleep 3 ; wc -l) With openssh 2.5.2p2 this correctly...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem: =============================================================== [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6) Please read the file BUGS.txt in the distribution [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43) =============================================================== This is using the same
2005 Dec 10
6
rsync 2.6.6 nasty bug?
...tion to the one from SuSE 9.3. The script worked great! I then installed the one from SUSE 10.0 - the script was broke. I eventually boiled everything down to this: The invocation on the client machine is: rsync -avvvvv --delete-excluded --exclude-from=excludes \ -e ''ssh'' remote_machine: This is what I get: [client] parse_filter_file(excludes,0,3) [client] add_rule(- *.mp3) ... (Client) Protocol versions: remote=29, negotiated=29 (Server) Protocol versions: remote=29, negotiated=29 building file list ... [sender] make_file(....) <- lots of this ... recv_file_list done rsync:...
2000 Jul 31
0
[patch] smbmount fixes for samba-2.0.7, testers wanted!
...e stdout pipe back to the automount - process, which automount depends on. This will cause automount - to hang! Use with caution! */ -/* #define SMBFS_DEBUG 1 */ - extern struct in_addr ipzero; extern int DEBUGLEVEL; extern BOOL in_client; extern pstring user_socket_options; +extern fstring remote_machine; static pstring my_netbios_name; static pstring password; @@ -73,7 +67,7 @@ signal( SIGTERM, exit_parent ); if ((child_pid = fork()) < 0) { - fprintf(stderr,"could not fork\n"); + DEBUG(0,("could not fork\n")); } if (child_pid > 0) { @@ -151,12 +145,12 @@...
2020 Nov 12
0
run firefox via an ssh tunnel
...12, 2020 at 12:56:15PM +0000, Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS wrote: > > If the point is to access a specific web site only the remote > machine can get to, you can also do it with port forwarding: > ssh -L 8000:ip_of_web_site_to_access_from_remote:443 remote_machine > and then locally run any browser, and access > https://localhost:443 > (assuming it's https. If it's plain http, use "http" and 80). Note > that you'll be breaking some aspects of https security such as > man-in-the-middle protection and perhaps others, and...
2018 Sep 12
0
eventlog functionality
...t; for (num_entries = 0; resume_handle < *total_entries; num_entries++, resume_handle++) { > uint32_t connect_time; > > connect_time = (uint32_t)(now - session_list[resume_handle].connect_start); > > ctr10->array[num_entries].client = session_list[resume_handle].remote_machine; > ctr10->array[num_entries].user = session_list[resume_handle].username; > ctr10->array[num_entries].time = connect_time; > ctr10->array[num_entries].idle_time = 0; > } > > if (resume_handle_p) { > if (*resume_handle_p >= *total_entries) { >...
2004 Sep 20
1
SSH - tool
...mmand we use '-B' flag )? 2. Description: For time out limit we use TMOUT in ksh , timeout in tcl and expect . Please explain how we can define timeout in ssh tool? 3. When I connect to remote user at the first time I get the following message : The authenticity of host '<remote_machine> (XXX.XXX.XXX.XXX)' can't be established. RSA key fingerprint is XXXXXXXXXXXXXXXXXXXXXX. Are you sure you want to continue connecting (yes/no)? How we can avoid this massage at any time ? Thanks in advance ..... Regards, Roni Karpachevsky phone: 09-7763977 mail: ronika at amdocs.c...
2002 Feb 27
1
Possible big/small endian problem Samba 2.2.2 and 2.2.3a
...d/password.c connect_to_domain_password_server routine, it seems as we fail on the very last call: if (!NT_STATUS_IS_OK(cli_nt_setup_creds(pcli, trust_passwd))) { DEBUG(0,("connect_to_domain_password_server: unable to setup the PDC credentials to machine \ %s. Error was : %s.\n", remote_machine, cli_errstr(pcli))); cli_nt_session_close(pcli); cli_ulogoff(pcli); cli_shutdown(pcli); return(False); } I have about exhausted all possible things to try. Also, this works 100% on a Intel based PC with Samba 2.2.3a. We compared the smb.conf files between the mainframe Linux and...
1999 Sep 21
0
[patch] fixing scope id problems
....orig Wed Jul 21 08:25:25 1999 X+++ smbpasswd.c Mon Sep 20 23:21:22 1999 X@@ -20,6 +20,7 @@ X #include "includes.h" X X extern pstring myhostname; X+extern pstring scope; X extern pstring global_myname; X extern int DEBUGLEVEL; X X@@ -276,7 +277,7 @@ X char *old_passwd = NULL; X char *remote_machine = NULL; X X- while ((ch = getopt(argc, argv, "adehmnj:r:sR:D:U:")) != EOF) { X+ while ((ch = getopt(argc, argv, "adehmnj:r:sR:D:U:C:")) != EOF) { X switch(ch) { X case 'a': X add_user = True; X@@ -316,6 +317,9 @@ X break; X case 'U': X user_name =...
2001 Sep 25
0
Intermittent port forwarding problems openssh 2.9.2p and up
...on two redhat Linux 6.2 machines and I am getting some intermittent port forwarding problems. To provide some background, the two machines sit on separate networks and talk through a firewall. I am trying to get an application to talk through the ssh connection to a remote machine. ie ssh -N 1500:remote_machine:1500 linux_machine This is kicked off from inittab and works fine, the problem is that the first time a user uses the application after they have logged in, or after about 5 minutes of leaving their terminal idle the application will fail to work properly, after some investigation it seems it...
2020 Nov 11
2
run firefox via an ssh tunnel
On Wed, 11 Nov 2020 at 17:45, R C <cjvijf at gmail.com> wrote: > I do it all the time. > > > make sure you forward X11, on the ssh server side, and login with > ssh -X me at myhost.whatever > > start firefox with: > > /usr/bin/firefox -no-remote if you don't want the remote pages ending > up in your local browser > > or if you don't care,
2018 Sep 12
2
eventlog functionality
On Wed, Sep 12, 2018 at 09:30:19AM -0700, Ray Klassen via samba wrote: > > and from the what the hell department. I did it. Comparing > > https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_1 > > > and > > https://docs.microsoft.com/en-us/windows/desktop/api/lmshare/ns-lmshare-_session_info_10 > > and > >
2018 Sep 12
1
eventlog functionality
On Wed, 2018-09-12 at 16:23 -0700, Ray Klassen via samba wrote: > On 2018-09-12 09:44 AM, Jeremy Allison via samba wrote: > > > > On Wed, Sep 12, 2018 at 09:30:19AM -0700, Ray Klassen via samba > > wrote: > > > > > > > > > and from the what the hell department. I did it. Comparing > > > > > >
2003 Apr 17
1
Running an rsync server over a remote shell program
...far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) When I ran "ssh <ruser>@<rhost> foobar", all I got was the banner message. If I ran just "ssh <ruser>@<rhost>", I got the banner followed by the line "Connection to <remote_machine> closed." Does anyone have any ideas how I can make this work? Is there a different/better way to do the same thing? If it makes any difference, all machines involved are Solaris 7 and ssh is version 3.4p1. I'm not the admin on these machines, so a solution that does not require...
2020 Nov 12
3
run firefox via an ssh tunnel
...20 at 12:56:15PM +0000, Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS wrote: >> If the point is to access a specific web site only the remote >> machine can get to, you can also do it with port forwarding: >> ssh -L 8000:ip_of_web_site_to_access_from_remote:443 remote_machine >> and then locally run any browser, and access >> https://localhost:443 >> (assuming it's https. If it's plain http, use "http" and 80). Note >> that you'll be breaking some aspects of https security such as >> man-in-the-middle protection and...
1997 Oct 20
1
Disappearing clients in WINS list
On Mon, 20 Oct 1997, Dieter Rothacker wrote: > Luke Kenneth Casson Leighton wrote: > > > > Here is the smb.conf of the disappeared samba box: > > ^^^^^^^^^^^ > I do not think THIS computer should become local master !? > (see below) > > > > wins support = no > > > workgroup = WORKGROUP > > >