From: Aleksei Sinitsyn <a.sinitsin@gmail.com> To: chaos world <sp1r1t_13@bk.ru>, Saratov Linux User Group Maillist <sarlug@lists.lug.ru> Subject: Re: [Sarlug] Bash script - ssh-keygen Date: Wed, 4 May 2016 14:14:06 +0300 Message-ID: <CAF_a_DPG_NO9c6HpwSCW0Yv4A4ONV+Lz5SVmff9MLprd_38J4g@mail.gmail.com> (raw) In-Reply-To: <1462108933.281107655@f330.i.mail.ru> 01.05.16, chaos world<sp1r1t_13@bk.ru> написал(а): > Привет всем! > Помогите пожалуйста сделать скрипт. > Если просто вводить команду: > ssh-keygen -b 4096 -t rsa -N '' -f ~/.ssh/id_rsa > то при генерации о задании парольной фразы не спрашивается. > CMD=`ssh-keygen -t rsa -b 4096 -N '' -f id_rsa1` А это точно должно выглядеть именно так? Если да, то можно вместо обратных кавычек попробовать $(command) . В последнем случае проще с экранированием вунтри конструкции. -- WBR, sinaps http://saratov.lug.ru
parent reply other threads:[~2016-05-04 11:14 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <1462108933.281107655@f330.i.mail.ru>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAF_a_DPG_NO9c6HpwSCW0Yv4A4ONV+Lz5SVmff9MLprd_38J4g@mail.gmail.com \ --to=a.sinitsin@gmail.com \ --cc=sarlug@lists.lug.ru \ --cc=sp1r1t_13@bk.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Saratov Linux User Group This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \ sarlug@lists.lug.ru sarlug@lug.ru public-inbox-index sarlug Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sarlug AGPL code for this site: git clone https://public-inbox.org/public-inbox.git