Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #68308

Re: Why isn't it any longer possible to send email via a Google email server

From "J.O. Aho" <user@example.net>
Newsgroups alt.os.linux
Subject Re: Why isn't it any longer possible to send email via a Google email server
Date 2020-12-07 19:33 +0100
Message-ID <i37ariF815fU1@mid.individual.net> (permalink)
References <af69da8f-2f15-4726-beb8-7c767d84bf2cn@googlegroups.com> <i36ba5F1ueiU1@mid.individual.net> <36c10f7c-49b7-4148-a291-1ebc58f85ce4n@googlegroups.com> <i36jooF3gqcU2@mid.individual.net> <32718baa-f56f-4118-8743-1480e7131d66n@googlegroups.com>

Show all headers | View raw


On 07/12/2020 18.32, Bengt T wrote:
> 
>> Sure that could also work, I would look at a sftp solution as scp will
>> be phased out. I would use a datestamp on the file name (assuming one
>> report a day), so if there would be problems a day, then you can still
>> fetch it the next day.
> 
> It seems to me that the sftp command should be:
> 
> sshpass -p password sftp -oBatchMode=no -b batch_file_with_commands user@remote_ip_adr
> 
> My understanding is that the password is transferred encrypted even when "sshpass" is used. Is this correct?

The sshpass don't transport any passwords to the remote server, it 
supplies the password to the local command, in this case sftp.

The transportation of the password is done by sftp (secure ftp), as the 
traffic is encrypted in a similar way as in https, the password is safe 
from prying eyes during the transport from local machine to the remote 
machine.

sftp do support using the traditional ssh keys, then you don't have to 
use sshpass at all. See 
https://filezillapro.com/docs/v3/basic-usage-instructions/ssh-private-keys-for-sftp/ 
for an example how to do this.


The risk with using sshpass, specially if you do it from command line is 
that the command line will be saved in the shell history and someone 
with the right privileges could read the shell history and see the 
password in plain text (sure if you use the ssh key, they could take the 
private key and get access to remote system too).


-- 

  //Aho

Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Why isn't it any longer possible to send email via a Google email server Bengt T <bengt_tornqvist@hotmail.com> - 2020-12-05 02:23 -0800
  Re: Why isn't it any longer possible to send email via a Google email server gazelle@shell.xmission.com (Kenny McCormack) - 2020-12-05 11:50 +0000
    Re: Why isn't it any longer possible to send email via a Google email server  Arlen   Holder <arlen_holder@newmachines.com> - 2020-12-09 16:36 +0000
  Re: Why isn't it any longer possible to send email via a Google email server Richard Kettlewell <invalid@invalid.invalid> - 2020-12-05 12:04 +0000
  Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-05 13:35 +0100
    Re: Why isn't it any longer possible to send email via a Google email server Javier <invalid@invalid.invalid> - 2020-12-08 19:24 -0600
      Re: Why isn't it any longer possible to send email via a Google email server "Carlos E.R." <robin_listas@es.invalid> - 2020-12-09 13:05 +0100
      Re: Why isn't it any longer possible to send email via a Google email server Javier <invalid@invalid.invalid> - 2020-12-09 17:23 -0600
  Re: Why isn't it any longer possible to send email via a Google email server Mike Easter <MikeE@ster.invalid> - 2020-12-05 10:12 -0800
  Re: Why isn't it any longer possible to send email via a Google email server "Carlos E.R." <robin_listas@es.invalid> - 2020-12-05 23:03 +0100
  Re: Why isn't it any longer possible to send email via a Google email server Jasen Betts <usenet@revmaps.no-ip.org> - 2020-12-05 23:26 +0000
    Re: Why isn't it any longer possible to send email via a Google email server Bengt T <bengt_tornqvist@hotmail.com> - 2020-12-06 09:59 -0800
      Re: Why isn't it any longer possible to send email via a Google email server Chris Elvidge <chris@mshome.net> - 2020-12-06 20:55 +0000
      Re: Why isn't it any longer possible to send email via a Google email server "Carlos E.R." <robin_listas@es.invalid> - 2020-12-06 22:56 +0100
        Re: Why isn't it any longer possible to send email via a Google email server Bengt T <bengt_tornqvist@hotmail.com> - 2020-12-06 23:51 -0800
  Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-07 10:35 +0100
    Re: Why isn't it any longer possible to send email via a Google email server Bengt T <bengt_tornqvist@hotmail.com> - 2020-12-07 02:44 -0800
      Re: Why isn't it any longer possible to send email via a Google email server "Carlos E.R." <robin_listas@es.invalid> - 2020-12-07 12:20 +0100
        Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-07 12:56 +0100
          Re: Why isn't it any longer possible to send email via a Google email server "Carlos E.R." <robin_listas@es.invalid> - 2020-12-07 19:09 +0100
      Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-07 12:59 +0100
        Re: Why isn't it any longer possible to send email via a Google email server Bengt T <bengt_tornqvist@hotmail.com> - 2020-12-07 09:32 -0800
          Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-07 19:33 +0100
    Re: Why isn't it any longer possible to send email via a Google email server Adrian Caspersz <email@here.invalid> - 2020-12-09 18:37 +0000
      Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-09 21:23 +0100
        Re: Why isn't it any longer possible to send email via a Google email server Adrian Caspersz <email@here.invalid> - 2020-12-10 09:52 +0000
          Re: Why isn't it any longer possible to send email via a Google email server "J.O. Aho" <user@example.net> - 2020-12-10 13:47 +0100
      Re: Why isn't it any longer possible to send email via a Google email server Jasen Betts <usenet@revmaps.no-ip.org> - 2020-12-10 07:23 +0000

csiph-web