Saratov Linux User Group
 help / color / mirror / Atom feed
* Re: [Sarlug] Bash script - ssh-keygen
  @ 2016-05-04 11:14 ` Aleksei Sinitsyn
  0 siblings, 0 replies; only message in thread
From: Aleksei Sinitsyn @ 2016-05-04 11:14 UTC (permalink / raw)
  To: chaos world, Saratov Linux User Group Maillist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-04 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-04 11:14 ` [Sarlug] Bash script - ssh-keygen Aleksei Sinitsyn

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