V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  konakona  ›  全部回复第 156 页 / 共 188 页
回复总数  3744
1 ... 152  153  154  155  156  157  158  159  160  161 ... 188  
2014-08-12 03:08:02 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
[root@li671-193 CRAZYPHPER.COM]# ssh -vT [email protected]
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to oschina.net [61.145.122.155] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/identity-cert type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8
debug1: match: OpenSSH_5.8 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'oschina.net (61.145.122.155)' can't be established.
RSA key fingerprint is eb:2a:c2:28:63:43:71:d2:1c:da:6b:ff:c9:85:ff:54.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'oschina.net,61.145.122.155' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
2014-08-12 03:03:16 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@ivenvd
[root@li671-193 CRAZYPHPER.COM]# ssh -T [email protected]
[email protected]'s password:
Permission denied, please try again.

以前都是这样设置key的,今天就不得了。唉.........我配了几十个git了,今天第一次遇到这样的事情。
2014-08-12 02:50:10 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@ivenvd url是对的。我的是私有库。
2014-08-12 01:06:32 +08:00
回复了 fkbd 创建的主题 站长 个人博客要不要去备案呢?放在国外访问速度老不靠谱。
我用的日本linode http://www.crazyphper.com 看看?其实主要是图多。
blog.crazyphper.com wp影响了点性能。
2014-08-12 01:04:41 +08:00
回复了 jeeve 创建的主题 macOS QQ for Mac 3.2 Beta3 增加漫游聊天记录开关
@wong2 嗯,这个真心蛋疼!!!
2014-08-10 23:52:02 +08:00
回复了 jeeve 创建的主题 macOS QQ for Mac 3.2 Beta3 增加漫游聊天记录开关
@tuimaochang teamViewer?
2014-08-10 23:44:56 +08:00
回复了 davidlau 创建的主题 程序员 什么职位可替代性弱,有竞争力?
老公老婆都可以替代,你觉得这个世界上还有谁不能替代谁吗?
CEO也可以天天换,看公司和决策曾认为这是否有必要。

只要不是底层(一般底层不需要什么skill tree)认真做,都可以做得有声有色。

比如从实习程序员变成编制程序员、高级程序员、程序师、架构师。慢慢的,只有自己价值提升了才不会被人第一时间想到要替换你。
2014-08-09 15:20:20 +08:00
回复了 konakona 创建的主题 程序员 laravel return Redirect::back() doesn't work
@yangqi 有空格的话IDE和程序都会报错的。
2014-08-09 03:48:18 +08:00
回复了 konakona 创建的主题 程序员 laravel return Redirect::back() doesn't work
@yangqi 进入了if,而不是else。
2014-08-09 03:21:25 +08:00
回复了 konakona 创建的主题 程序员 laravel return Redirect::back() doesn't work
Laravel的资料实在是太少了,这样的用法也是我从http://forumsarchive.laravel.io/ stackoverflow.com 上找到的,有注明是4可用。

为啥就不起做用呢?完整的控制器中方法是这样的:



protected function doBuildNewRoom()
{
$validator = Validator::make(Input::all(), Rooms::$createRules);

if ($validator->fails()) {
return Redirect::back()->withErrors($validator->messages())->withInput();
} else {
$model = new Rooms();
$model->create_time = time();
var_dump($model->create(Input::all()));
$model->save();
AppHelper::showMessage('发布成功!', [], 1);
}
}
2014-08-09 03:19:52 +08:00
回复了 konakona 创建的主题 程序员 laravel return Redirect::back() doesn't work
@yangqi 这个顺序好像不是问题所在,不过我还是尝试了下。问题没有解决。
2014-08-09 02:44:14 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@GhostFlying 所以,你再看看我第二楼的问题。git不是我的帐号,是git平台默认的。它没有询问我我的帐号是多少,我也没有找到我应该在哪儿设置。u know? ssh公钥什么的早就设置弄好了,不然我也不能够用得了我的git(因为是私有项目)..
2014-08-09 01:47:27 +08:00
回复了 8 创建的主题 程序员 程序员生女孩的概率要高吗?
有人找我?
2014-08-09 01:46:52 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@lijinma 怎么可能会是你的这种疑惑...根本没有这些问题。
我描述得听清楚的啊,都是自己的版本,只不过服务器用的是 git clone 没有加帐号名称,现在服务器因为装了很多插件,想要上传到git,然后我本机下下来开发环境中再调整。 就这样咯...
2014-08-08 20:55:41 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@dorentus 我是这样做的。
2014-08-08 19:26:33 +08:00
回复了 konakona 创建的主题 程序员 已 clone 的 git,如何为其设置有效用户
@raptium

[root@li671-193 CRAZYPHPER.COM]# git config user.name 'konakona'
[root@li671-193 CRAZYPHPER.COM]# git config user.email '[email protected]'

[root@li671-193 CRAZYPHPER.COM]# git push
[email protected]'s password:

它现在让我输入git的帐号密码呢,我木有~
1 ... 152  153  154  155  156  157  158  159  160  161 ... 188  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5558 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 46ms · UTC 02:41 · PVG 10:41 · LAX 19:41 · JFK 22:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.