Дамир Хакимов ☫ → To [email protected] @ Tue, Nov 22, 2011 08:46 
+0400

> Добрый день.
> Вопрос: как сделать чтобы ssh спросил имя пользователя, а не
> подставлял имя текущего?
> Именно спросил, интерактивно, как это происходит при логине через putty.
> Надо.

Например, так:

~/bin/my-ssh:

#!/bin/bash
#
# Usage: $(basename $0) hostname

echo -n "Username: "
read user
ssh ${user}@$@

-- 
Bright regards, Sergey Korobitsin,
Chief Research Officer
Arta Software, http://arta.kz/
xmpp:[email protected]

--
Information on Derby's internals is scattered over a number of locations:

  1. The code, describes exactly how it works. B)

  -- http://wiki.apache.org/db-derby/HowItWorks


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Ответить